Server
Clients
OS
Khoj version
1.42.10
Describe the bug
GPT 5.6 models require temperature to be set to 1.0, and Khoj sets it at 0.8.
Current Behavior
BadRequestError: Error code: 400 -
{'error': {'message': "Unsupported
value: 'temperature' does not support
0.8 with this model. Only the default
(1) value is supported.", 'type':
'invalid_request_error', 'param':
'temperature', 'code':
'unsupported_value'}}
Expected Behavior
.
Reproduction Steps
Try using any GPT 5.6 models, like gpt-5.6-luna
Possible Workaround
No response
Additional Information
No response
Link to Discord or Github discussion
No response
Server
Clients
OS
Khoj version
1.42.10
Describe the bug
GPT 5.6 models require temperature to be set to 1.0, and Khoj sets it at 0.8.
Current Behavior
BadRequestError: Error code: 400 -
{'error': {'message': "Unsupported
value: 'temperature' does not support
0.8 with this model. Only the default
(1) value is supported.", 'type':
'invalid_request_error', 'param':
'temperature', 'code':
'unsupported_value'}}
Expected Behavior
.
Reproduction Steps
Try using any GPT 5.6 models, like gpt-5.6-luna
Possible Workaround
No response
Additional Information
No response
Link to Discord or Github discussion
No response