mirror of
https://github.com/mark3labs/kit.git
synced 2026-06-14 03:30:26 +00:00
3cb3e5dba1
When using /model command to switch models, the system prompt was not being passed to the new provider config. This caused OpenAI Codex to fail with "Instructions are required" error. - Load system prompt using config.LoadSystemPrompt() in SetModel - Pass SystemPrompt to ProviderConfig when building model config - This ensures Codex OAuth gets the instructions field it requires