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:
@@ -1673,11 +1673,11 @@ pub async fn handle_openrouter_auth() -> anyhow::Result<()> {
|
||||
|
||||
match create("openrouter", model_config, Vec::new()).await {
|
||||
Ok(provider) => {
|
||||
let model_config = provider.get_model_config();
|
||||
let provider_model_config = provider.get_model_config();
|
||||
let test_result = provider
|
||||
.complete_with_model(
|
||||
None,
|
||||
&model_config,
|
||||
.complete(
|
||||
&provider_model_config,
|
||||
"",
|
||||
"You are goose, an AI assistant.",
|
||||
&[Message::user().with_text("Say 'Configuration test successful!'")],
|
||||
&[],
|
||||
|
||||
Reference in New Issue
Block a user