Rename a test and add some comments

This commit is contained in:
Ashwin Bharambe 2025-01-22 15:27:29 -08:00
parent 494e969f8d
commit 4dd4f09fc5
2 changed files with 5 additions and 2 deletions

View file

@ -212,7 +212,10 @@ def test_builtin_tool_code_execution(llama_stack_client, agent_config):
assert "Tool:code_interpreter Response" in logs_str assert "Tool:code_interpreter Response" in logs_str
def test_code_execution(llama_stack_client, agent_config): # This test must be run in an environment where `bwrap` is available. If you are running against a
# server, this means the _server_ must have `bwrap` available. If you are using library client, then
# you must have `bwrap` available in test's environment.
def test_code_interpreter_for_attachments(llama_stack_client, agent_config):
agent_config = { agent_config = {
**agent_config, **agent_config,
"toolgroups": [ "toolgroups": [

View file

@ -38,7 +38,7 @@ AGENTS_API_TEST_MAP = {
"create_agent_turn": { "create_agent_turn": {
"rag": ["test_rag_agent"], "rag": ["test_rag_agent"],
"custom_tool": ["test_custom_tool"], "custom_tool": ["test_custom_tool"],
"code_execution": ["test_code_execution"], "code_execution": ["test_code_interpreter_for_attachments"],
} }
} }