Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

llama-stack-client doesn't have Attachment object in types #178

Open
1 of 2 tasks
Shreyanand opened this issue Feb 19, 2025 · 1 comment · May be fixed by #179
Open
1 of 2 tasks

llama-stack-client doesn't have Attachment object in types #178

Shreyanand opened this issue Feb 19, 2025 · 1 comment · May be fixed by #179

Comments

@Shreyanand
Copy link
Contributor

System Info

Mac, ollama provider

Information

  • The official example scripts
  • My own modified scripts

🐛 Describe the bug

on running the command PYTHONPATH=. python examples/agent_store/app.py localhost 8321 I see the following error:

Error logs

(stack) xx@aa-mac llama-stack-apps % PYTHONPATH=. python examples/agent_store/app.py localhost 8321
Traceback (most recent call last):
  File "/Users/xx/llama-stack-apps/examples/agent_store/app.py", line 13, in <module>
    from examples.agent_store.api import AgentChoice, AgentStore
  File "/Users/xx/llama-stack-apps/examples/agent_store/api.py", line 17, in <module>
    from llama_stack_client.types import Attachment, Document, QueryConfig, UserMessage
ImportError: cannot import name 'Attachment' from 'llama_stack_client.types' (/Users/xx/miniforge3/envs/stack/lib/python3.10/site-packages/llama_stack_client/types/__init__.py)

Expected behavior

The command should spin up playground.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants