fix handle o1 not supporting system message

This commit is contained in:
Ishaan Jaff 2024-09-12 14:09:13 -07:00
parent f5e9e9fc9a
commit a5a0773b19
4 changed files with 51 additions and 5 deletions

View file

@ -51,6 +51,3 @@ async def test_o1_handle_system_role(respx_mock: MockRouter):
print(f"response: {response}")
assert isinstance(response, ModelResponse)
assert response.choices[0].message.content == "Mocked response"
# ... existing code ...