zdurm
zdurm
## Summary LiteLLM provider routing appears to be broken for `litellm@...` / `ll@...` models. Even with a working LiteLLM proxy and valid `LITELLM_BASE_URL` / `LITELLM_API_KEY`, Claude Code requests can be...
### Submission checklist - [x] This is a bug, not a usage question. - [x] I added a clear and descriptive title that summarizes this issue. - [x] I used...
Responses create spends CPU proportional to the body size transforming a body it returns unchanged
### Confirm this is an issue with the Python library and not an underlying OpenAI API - [x] This is an issue with the Python library ### Describe the bug...
### Confirm this is an issue with the Python library and not an underlying OpenAI API - [x] This is an issue with the Python library ### Describe the bug...
### Bug Description Every job builds its own `ssl.SSLContext`. `ssl.create_default_context()` loads and parses the whole CA bundle on each call, and the call runs synchronously on the job's event loop....
### Bug Description When `PROMETHEUS_MULTIPROC_DIR` is set (or `prometheus_multiproc_dir=` is passed), `AgentServer.run()` deletes every file in that directory at startup: https://github.com/livekit/agents/blob/e684c2379e1c385afe8edcd1f02ea422051b035f/livekit-agents/livekit/agents/worker.py#L707-L718 The cleanup does not check whose files they are....
### Bug Description `silero.VAD.load(activation_threshold=x)` sets `deactivation_threshold` to `max(x - 0.15, 0.01)` when the caller does not pass one: https://github.com/livekit/agents/blob/e684c2379e1c385afe8edcd1f02ea422051b035f/livekit-plugins/livekit-plugins-silero/livekit/plugins/silero/vad.py#L131-L141 `VAD.update_options(activation_threshold=x)` only replaces `activation_threshold`. It keeps the `deactivation_threshold` that was derived...
### Bug Description `EventLoopMonitor._consume_watchdog_gap` measures how long the watchdog thread was kept from running during a stall. It counts the time since the watchdog's last wake only when that wake...
### Bug Description `EventLoopMonitor._watchdog_check` reads the tick state and takes its stack sample outside `self._lock`: https://github.com/livekit/agents/blob/e684c2379e1c385afe8edcd1f02ea422051b035f/livekit-agents/livekit/agents/telemetry/loop_monitor.py#L531-L553 The block ends when the late tick runs on the loop thread, and the...
### Bug Description The watchdog samples the loop thread with `lookup_lines=False`, and the comment says lines "load lazily when a report is formatted": https://github.com/livekit/agents/blob/e684c2379e1c385afe8edcd1f02ea422051b035f/livekit-agents/livekit/agents/telemetry/loop_monitor.py#L586-L590 The report is formatted by the...