Everything is streaming (#7247)

Co-authored-by: Douwe Osinga <douwe@squareup.com>
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Douwe Osinga
2026-02-17 19:53:38 +01:00
committed by GitHub
parent 65d3a1550f
commit 9a91fccfb5
42 changed files with 801 additions and 1718 deletions
+4 -3
View File
@@ -242,10 +242,11 @@ impl ClientHandler for GooseClient {
.as_deref()
.unwrap_or("You are a general-purpose AI agent called goose");
let model_config = provider.get_model_config();
let (response, usage) = provider
.complete_with_model(
session_id.as_deref(),
&provider.get_model_config(),
.complete(
&model_config,
session_id.as_deref().unwrap_or(""),
system_prompt,
&provider_ready_messages,
&[],