mirror of
https://github.com/katanemo/plano.git
synced 2026-06-17 15:25:17 +02:00
fixed reasoning failures
This commit is contained in:
parent
d5a273f740
commit
8b78460762
2 changed files with 5 additions and 2 deletions
|
|
@ -189,7 +189,10 @@ impl TryFrom<ChatCompletionsResponse> for ResponsesAPIResponse {
|
|||
top_p: 1.0,
|
||||
metadata: resp.metadata.unwrap_or_default(),
|
||||
truncation: None,
|
||||
reasoning: None,
|
||||
reasoning: Some(crate::apis::openai_responses::Reasoning {
|
||||
effort: None,
|
||||
summary: None,
|
||||
}),
|
||||
store: None,
|
||||
text: None,
|
||||
audio: None,
|
||||
|
|
|
|||
|
|
@ -595,7 +595,7 @@ def test_openai_responses_api_streaming_with_tools_upstream_anthropic():
|
|||
|
||||
stream = client.responses.create(
|
||||
model="claude-sonnet-4-20250514",
|
||||
input="Call the echo tool",
|
||||
input="Call the echo tool with hello_world",
|
||||
tools=tools,
|
||||
stream=True,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue