mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-06-28 02:53:30 +00:00
Test be not having prints yo
This commit is contained in:
parent
c9e08cc0a8
commit
b890d7a611
1 changed files with 0 additions and 4 deletions
|
@ -384,7 +384,6 @@ def xtest_override_system_message_behavior(llama_stack_client, agent_config):
|
|||
|
||||
logs = [str(log) for log in EventLogger().log(response) if log is not None]
|
||||
logs_str = "".join(logs)
|
||||
print(logs_str)
|
||||
# can't tell a joke: "I don't have a function"
|
||||
assert "function" in logs_str
|
||||
|
||||
|
@ -423,7 +422,6 @@ def xtest_override_system_message_behavior(llama_stack_client, agent_config):
|
|||
|
||||
logs = [str(log) for log in EventLogger().log(response) if log is not None]
|
||||
logs_str = "".join(logs)
|
||||
print(logs_str)
|
||||
assert "bicycle" in logs_str
|
||||
|
||||
response = agent.create_turn(
|
||||
|
@ -438,7 +436,6 @@ def xtest_override_system_message_behavior(llama_stack_client, agent_config):
|
|||
|
||||
logs = [str(log) for log in EventLogger().log(response) if log is not None]
|
||||
logs_str = "".join(logs)
|
||||
print(logs_str)
|
||||
assert "-100" in logs_str
|
||||
assert "get_boiling_point" in logs_str
|
||||
|
||||
|
@ -557,7 +554,6 @@ def test_rag_and_code_agent(llama_stack_client, agent_config):
|
|||
]
|
||||
|
||||
for prompt, docs, tool_name in user_prompts:
|
||||
print(f"User> {prompt}")
|
||||
session_id = agent.create_session(f"test-session-{uuid4()}")
|
||||
response = agent.create_turn(
|
||||
messages=[{"role": "user", "content": prompt}],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue