mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-13 07:40:59 +00:00
f6976d5cec
gpt-5.6-sol, gpt-6.1-sol and the other reasoning models refuse function tools on Chat Completions, so every assistant message on such a model came back as HTTP 400. An OpenAI connection whose model is from the o-series or GPT-5 and later now goes through the Responses API, the client a ChatGPT plan already uses, with the key as its bearer token and no token refresh on a 401. Older models and the -chat variants stay on Chat Completions. Closes #2792