fix(llm): add stop_sequences parity for tool completions (#1170)

* fix(llm): add stop_sequences parity for tool completions

* refactor(web-openai): dedupe request builders and satisfy no-panics gate

* test(llm): mark multiline assert with safety comment for CI gate

* test(llm): make safety-marked assert formatting-stable
This commit is contained in:
Nige
2026-03-14 13:06:48 -07:00
committed by GitHub
parent cc52a046c1
commit ffe384b66e
7 changed files with 81 additions and 51 deletions
+1
View File
@@ -176,6 +176,7 @@ async fn llm_complete_with_tools(
model: req.model,
max_tokens: req.max_tokens,
temperature: req.temperature,
stop_sequences: req.stop_sequences,
tool_choice: req.tool_choice,
metadata: std::collections::HashMap::new(),
};