forked from phoenix-oss/llama-stack-mirror
Rename a test and add some comments
This commit is contained in:
parent
494e969f8d
commit
4dd4f09fc5
2 changed files with 5 additions and 2 deletions
|
@ -212,7 +212,10 @@ def test_builtin_tool_code_execution(llama_stack_client, agent_config):
|
|||
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,
|
||||
"toolgroups": [
|
||||
|
|
|
@ -38,7 +38,7 @@ AGENTS_API_TEST_MAP = {
|
|||
"create_agent_turn": {
|
||||
"rag": ["test_rag_agent"],
|
||||
"custom_tool": ["test_custom_tool"],
|
||||
"code_execution": ["test_code_execution"],
|
||||
"code_execution": ["test_code_interpreter_for_attachments"],
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue