Add env toggles for reasoning and web search (#64)

This commit is contained in:
Alexx
2025-10-02 08:31:18 +01:00
committed by GitHub
parent 3a16fb8179
commit 70025724f8
3 changed files with 13 additions and 3 deletions

View File

@@ -27,6 +27,8 @@ Set options in `.env` or pass environment variables:
- `CHATGPT_LOCAL_REASONING_COMPAT`: legacy|o3|think-tags|current
- `CHATGPT_LOCAL_DEBUG_MODEL`: force model override (e.g., `gpt-5`)
- `CHATGPT_LOCAL_CLIENT_ID`: OAuth client id override (rarely needed)
- `CHATGPT_LOCAL_EXPOSE_REASONING_MODELS`: `true|false` to add reasoning model variants to `/v1/models`
- `CHATGPT_LOCAL_ENABLE_WEB_SEARCH`: `true|false` to enable default web search tool
## Logs
Set `VERBOSE=true` to include extra logging for debugging issues in upstream or chat app requests. Please include and use these logs when submitting bug reports.