Update openai with responses api#337
Conversation
- Updated dependencies version.
…new-way-to-accept-reasoning-and-thinking-condition Allow reasoning config while working with tools calling
|
Thanks for this — Responses API support is genuinely useful, especially for file inputs and reasoning models. A few things before merging: Required
Nice-to-have
Happy to merge once items 1–3 are addressed. |
…t.format) to both paths, matching chat parity exactly (non-stream: loop+final; stream: final-only). - generateWithToolsResponsesStream (responses.go), dispatched from GenerateWithToolsStream via same shouldUseResponsesAPI gate. Mirrors chat-stream event contract (MessageStart → ContentDelta/ToolUse/ToolResult → ContentComplete → MessageStop), filterIntermediateContent replay, tool-exec between streamed turns, previous_response_id chaining. This is the path genworkflow create+MCP actually hits.
…ter-match OpenAI new endpoint for tool call with stream
# Conflicts: # pkg/llm/openai/responses.go
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.
Fixes # (issue)
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.
Checklist: