mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
fix handle o1 not supporting system message
This commit is contained in:
parent
f5e9e9fc9a
commit
a5a0773b19
4 changed files with 51 additions and 5 deletions
|
@ -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 ...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue