feat: allow OPENAI_CUSTOM_HEADERS to be set in goose config (#2235)

This commit is contained in:
Chris Rose
2025-04-16 19:55:34 -07:00
committed by GitHub
parent 9524bc8b8d
commit ee1d20ecf1
2 changed files with 2 additions and 1 deletions

View File

@@ -128,7 +128,7 @@ Goose supports using custom OpenAI-compatible endpoints, which is particularly u
| `OPENAI_HOST` | No | Custom endpoint URL (defaults to api.openai.com) |
| `OPENAI_ORGANIZATION` | No | Organization ID for usage tracking and governance |
| `OPENAI_PROJECT` | No | Project identifier for resource management |
| `OPENAI_CUSTOM_HEADERS` | No | Additional headers to include in the request, in the format "HEADER_A=VALUE_A,HEADER_B=VALUE_B" |
| `OPENAI_CUSTOM_HEADERS` | No | Additional headers to include in the request. Can be set via environment variable, configuration file, or CLI, in the format `HEADER_A=VALUE_A,HEADER_B=VALUE_B`. |
### Example Configurations