Skip to content

Commit aaf8312

Browse files
authored
fix(tests): change llm prompt (#1735)
Signed-off-by: Radek Ježek <[email protected]>
1 parent d8f6127 commit aaf8312

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/agentstack-server/tests/e2e/routes/test_openai.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ async def test_llm_permission_enforcement_with_context_token(subtests, test_conf
1414
base_url = test_configuration.server_url
1515
openai_base_url = f"{base_url}/api/v1/openai"
1616
test_message = {
17-
"messages": [{"role": "user", "content": "Hello, respond with one word"}],
18-
"max_completion_tokens": 300,
17+
"messages": [{"role": "user", "content": "You are a testing agent, respond exactly with 'hello world'"}],
18+
"max_completion_tokens": 1000,
1919
}
2020

2121
with subtests.test("LLM request denied with insufficient global permissions"):

0 commit comments

Comments
 (0)