Add temperature override option in config
- Add temperature field to Config struct (optional override)\n- Pass tempOverride to ConvertOpenAIRequest\n- Use override temperature if set, otherwise use client's temperature\n- Document option in config.yaml with example\n- Update README with temperature override documentation
This commit is contained in:
parent
cea246da83
commit
29292addac
5 changed files with 19 additions and 8 deletions
|
|
@ -28,6 +28,7 @@ upstream_url: "https://api.z.ai/api/anthropic"
|
|||
|
||||
- `port`: Port to listen on (default: 8080)
|
||||
- `upstream_url`: Base URL for the Anthropic-compatible upstream API
|
||||
- `temperature` (optional): Override temperature for all requests. If set, this value is used instead of client-specified temperatures. Remove this line to respect client temperatures.
|
||||
|
||||
## Building
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue