Skip to content

Conversation

@dineshyv
Copy link
Contributor

What does this PR do?

New rest API changes are being synced

Test Plan

LLAMA_STACK_CONFIG="/Users/dineshyv/.llama/distributions/llamastack-fireworks/fireworks-run.yaml" pytest -v tests/client-sdk/agents/test_agents.py
/Users/dineshyv/miniconda3/envs/stack/lib/python3.10/site-packages/pytest_asyncio/plugin.py:208: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset.
The event loop scope for asynchronous fixtures will default to the fixture caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to function scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session"

  warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET))
===================================================================================== test session starts =====================================================================================
platform darwin -- Python 3.10.15, pytest-8.3.3, pluggy-1.5.0 -- /Users/dineshyv/miniconda3/envs/stack/bin/python
cachedir: .pytest_cache
rootdir: /Users/dineshyv/code/llama-stack
configfile: pyproject.toml
plugins: asyncio-0.24.0, anyio-4.8.0
asyncio: mode=strict, default_loop_scope=None
collected 6 items

tests/client-sdk/agents/test_agents.py::test_agent_simple PASSED                                                                                                                        [ 16%]
tests/client-sdk/agents/test_agents.py::test_builtin_tool_web_search PASSED                                                                                                             [ 33%]
tests/client-sdk/agents/test_agents.py::test_builtin_tool_code_execution PASSED                                                                                                         [ 50%]
tests/client-sdk/agents/test_agents.py::test_code_execution PASSED                                                                                                                      [ 66%]
tests/client-sdk/agents/test_agents.py::test_custom_tool PASSED                                                                                                                         [ 83%]
tests/client-sdk/agents/test_agents.py::test_rag_agent PASSED                                                                                                                           [100%]

=============================================================================== 6 passed, 5 warnings in 45.74s ================================================================================


@dineshyv dineshyv force-pushed the rest-updates-latest-v2 branch from 4ef7707 to e058cbc Compare January 16, 2025 20:17
@dineshyv dineshyv merged commit 73a05fd into main Jan 16, 2025
2 checks passed
@dineshyv dineshyv deleted the rest-updates-latest-v2 branch January 16, 2025 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants