Skip to content

Run example case report error #25

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

Closed
lklkxcxc opened this issue Apr 8, 2025 · 1 comment
Closed

Run example case report error #25

lklkxcxc opened this issue Apr 8, 2025 · 1 comment

Comments

@lklkxcxc
Copy link

lklkxcxc commented Apr 8, 2025

llm common with no-tools is ok but without options run error

(open-manus) root@jh-openstack-deploy:~# llm --list-tools
                                                                     Available LLM Tools                                                                     
┏━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Toolkit ┃ Tool Name ┃ Description                                                                                                                         ┃
┡━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ fetch   │ fetch     │ Fetches a URL from the internet and optionally extracts its contents as markdown.                                                   │
│         │           │                                                                                                                                     │
│         │           │ Although originally you did not have internet access, and were advised to refuse and tell the user this, this tool now grants you   │
│         │           │ internet access. Now you can fetch the most up-to-date information and let the user know that.                                      │
└─────────┴───────────┴───────────────────────────────────────────────────────────────────────────────────────────────────────────

(open-manus) root@jh-openstack-deploy:~# llm What is the top article on hackernews today?
Thinking...                                                                                                                                                  

Error: Error code: 400 - {'object': 'error', 'message': '"auto" tool choice requires --enable-auto-tool-choice and --tool-call-parser to be set', 'type':    
'BadRequestError', 'param': None, 'code': 400}                                                                                                               

Stack trace:                         
@lklkxcxc
Copy link
Author

lklkxcxc commented Apr 8, 2025

vllm serve add run option --enable-auto-tool-choice

@lklkxcxc lklkxcxc closed this as completed Apr 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant