You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1870e58
Browse filesBrowse the repository at this point in the historyBrowse files
authored
Merge pull request #32 from OnlyTerp/devin/integrate-open-items
* fix: close upstream HTTP responses to prevent FD exhaustion
All five urllib.request.urlopen() call sites in the proxy now close the
HTTPResponse object after use (via try/finally), preventing
file-descriptor leaks that crash the proxy under UltraCode concurrency,
surfacing as 'ConnectionRefused' in Claude Code mid-session.
Affected call sites:
- _relay_response: wrap body in try/finally resp.close()
- _mk_events (openai_compat): close resp in finally
- _classifier_complete: close resp after read (both openai_compat and
Anthropic passthrough backends)
- _handle_models: close resp after /v1/models fetch
27/27 offline self-tests pass.
* docs: add Requesty as an OpenAI-compatible backend example
* fix: ensure providers/*.py are importable in zipped/embedded Python builds
---------
Co-authored-by: xinfeili <lxinfei5@gmail.com>
Co-authored-by: Thibault Jaigu <thibault.jaigu@gmail.com>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
|`auto`| The [Auto Router](docs/AUTO_ROUTER.md) — score candidates per task and route to the cheapest that's good enough | a `router` block + a classifier model |
"_": "Requesty (https://requesty.ai) - an OpenAI-compatible LLM gateway. Models use provider/model naming (e.g. openai/gpt-4o-mini); swap model for any slug Requesty lists. Get a key at https://app.requesty.ai/api-keys.",
109
+
"type": "openai_compat",
110
+
"upstream": "https://router.requesty.ai/v1",
111
+
"model": "openai/gpt-4o-mini",
112
+
"auth": "Bearer ${REQUESTY_API_KEY}"
113
+
},
106
114
"claude-local": {
107
115
"_": "A local OpenAI-compatible server (Ollama :11434, llama.cpp :8080, LM Studio :1234). The key is usually ignored.",
0 commit comments