Skip to content

Commit

Permalink
Fix auth test
Browse files Browse the repository at this point in the history
  • Loading branch information
cephalization committed Jan 14, 2025
1 parent 6e77ea2 commit dcf9abd
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions tests/integration/auth/test_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -1014,7 +1014,14 @@ def test_authenticated_users_are_recorded_in_prompts(
"description": "prompt-version-description",
"templateType": "CHAT",
"templateFormat": "MUSTACHE",
"template": {"messages": [{"role": "USER", "content": "hello world"}]},
"template": {
"messages": [
{
"role": "USER",
"content": [{"type": "text", "text": "hello world"}],
}
]
},
"invocationParameters": {"temperature": 0.4},
"modelProvider": "openai",
"modelName": "o1-mini",
Expand Down Expand Up @@ -1053,7 +1060,14 @@ def test_authenticated_users_are_recorded_in_prompts(
"description": "new-version-description",
"templateType": "CHAT",
"templateFormat": "MUSTACHE",
"template": {"messages": [{"role": "USER", "content": "new version"}]},
"template": {
"messages": [
{
"role": "USER",
"content": [{"type": "text", "text": "new version"}],
}
]
},
"invocationParameters": {"temperature": 0.4},
"modelProvider": "openai",
"modelName": "o1-mini",
Expand Down

0 comments on commit dcf9abd

Please sign in to comment.