Add responses api_mode support for OpenAI relay

This commit is contained in:
remy
2026-03-02 00:17:25 +10:00
parent 66989fc2e0
commit 998382aebe
3 changed files with 87 additions and 21 deletions

View File

@@ -2,7 +2,8 @@
oai_config = {
'apikey':'sk-uklURcj',
'apibase':"http://113.145.139.147:3001",
'model':"openai/gpt-5.1"
'model':"openai/gpt-5.1",
'api_mode':"chat_completions" # optional: "chat_completions" | "responses"
}
# or