llama-stack-mirror/llama_stack/providers/inline/tool_runtime/code_interpreter
ehhuang 6bfcb65343
test: code exec on mac (#1549)
Summary:
1. adds option to not use bwrap for code execution
2. disable bwrap when running tests on macs

Test Plan:
```
LLAMA_STACK_CONFIG=fireworks pytest -s -v tests/integration/agents/test_agents.py --safety-shield meta-llama/Llama-Guard-3-8B --text-model meta-llama/Llama-3.1-8B-Instruct
```

Verify code_interpreter result in logs

INFO 2025-03-11 08:10:39,858
llama_stack.providers.inline.agents.meta_reference.agent_instance:1032
agents: tool
call code_interpreter completed with result:
content='completed\n\n541\n' error_message=None error_code=None
         metadata=None
2025-03-12 19:21:53 -07:00
..
__init__.py chore: fix typing hints for get_provider_impl deps arguments (#1544) 2025-03-11 10:07:28 -07:00
code_env_prefix.py build: configure ruff from pyproject.toml (#1100) 2025-02-14 09:01:57 -08:00
code_execution.py test: code exec on mac (#1549) 2025-03-12 19:21:53 -07:00
code_interpreter.py test: code exec on mac (#1549) 2025-03-12 19:21:53 -07:00
config.py agents to use tools api (#673) 2025-01-08 19:01:00 -08:00
matplotlib_custom_backend.py fix: resolve type hint issues and import dependencies (#1176) 2025-02-25 11:06:47 -08:00
utils.py agents to use tools api (#673) 2025-01-08 19:01:00 -08:00