Closed dominiccooney closed 1 month ago
1.19.1717051987
chatModel
This error occurs (reproduced on sg02):
Request Failed: Sourcegraph Cody Gateway: unexpected status code 400: { "error": { "message": "Invalid value: ''. Supported values are: 'system', 'assistant', 'user', 'function', and 'tool'.", "type": "invalid_request_error", "param": "messages[0].role", "code": "invalid_value" } }
Let me keep chatting with the new model, or at least explain why I can't keep chatting.
No response
This issue is marked as stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed automatically in 5 days.
Version
1.19.1717051987
Describe the bug
chatModel
to GPT4oThis error occurs (reproduced on sg02):
Request Failed: Sourcegraph Cody Gateway: unexpected status code 400: { "error": { "message": "Invalid value: ''. Supported values are: 'system', 'assistant', 'user', 'function', and 'tool'.", "type": "invalid_request_error", "param": "messages[0].role", "code": "invalid_value" } }
Expected behavior
Let me keep chatting with the new model, or at least explain why I can't keep chatting.
Additional context
No response