fix: implemented TD-07, chat await path with deadline

This commit is contained in:
hugo committed 2026-06-12 12:08:27 +02:00
1 parent 2e633922f9
commit 66938c23f2
6 files changed
+124 -6

No files matched your search

+4 -1
View File
@@ -70,10 +70,13 @@ config :bds, :scripting,
# streaming: chat completions use SSE when the provider supports it (set to
# false for OpenAI-compatible servers that reject the "stream" flag).
# stream_emit_interval_ms throttles how often streamed content reaches the UI.
# await_timeout_margin_ms is added on top of the per-request HTTP budget across
# the bounded tool-call loop, so the caller never waits forever.
config :bds, :chat,
max_tool_rounds: 10,
streaming: true,
stream_emit_interval_ms: 100
stream_emit_interval_ms: 100,
await_timeout_margin_ms: 5_000
config :bds, :embeddings,
backend: BDS.Embeddings.Backends.Neural,