# language_models: Remove unnecessary LM Studio connection refused log \(\#37277\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/01f181339f4ea284d21c694ad3f1a3bccd167feb)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 01f181339f4ea284d21c694ad3f1a3bccd167feb

Requested commit: 01f181339f4ea284d21c694ad3f1a3bccd167feb

Commit: 01f181339f4ea284d21c694ad3f1a3bccd167feb

Tree: 42e305de4b1a336afe2f27332249efdc84d434d2

Author: Umesh Yadav

Committer: GitHub

## Message

````
language_models: Remove unnecessary LM Studio connection refused log (#37277)

In zed logs you can see these logs of lmstudio connection refused.
Currently zed connects to lmstudio by default as there is no credential
mechanism to check if the user has enabled lmstudio previously or not
like we do with other providers using api keys.

This pr removes the below annoying log and makes the zed logs less
polluted.

```
2025-09-01T02:11:33+05:30 ERROR [language_models] Other(error sending request for url (http://localhost:1234/api/v0/models)

Caused by:
    0: client error (Connect)
    1: tcp connect error: Connection refused (os error 61)
    2: Connection refused (os error 61))
```

Release Notes:

- N/A

---------

Signed-off-by: Umesh Yadav <git@umesh.dev>
````

## Parents

- [d046016ef560b4829c0a4d5bd035cb85f9a66ba4](https://git.cafe/gitcafe/zed/commit/d046016ef560b4829c0a4d5bd035cb85f9a66ba4?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/01f181339f4ea284d21c694ad3f1a3bccd167feb?format=markdown)
