mirror of
https://github.com/mark3labs/kit.git
synced 2026-06-14 03:30:26 +00:00
24ea2c94e3
Enable fantasy's Responses API path (WithUseResponsesAPI) for the OpenAI provider so that models like gpt-5.3-codex, codex-mini-latest, o3, o4-mini, and other Responses-only models work correctly. - Enable WithUseResponsesAPI on both createOpenAIProvider and createAutoRoutedOpenAIProvider - Build provider options for reasoning models (reasoning_summary, encrypted reasoning content) matching crush's coordinator behaviour - Thread ProviderOptions from provider creation through to the fantasy agent in NewAgent, SetModel, and the SDK Complete path - Pass generation parameters (Temperature, MaxTokens, TopP, TopK) to the fantasy agent for all providers (previously only Ollama) - Fix extension tool schema for Responses API: parse Parameters JSON Schema string into fantasy ToolInfo format, ensure Required is never nil (OpenAI rejects null, expects empty array)