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

Interactive chat always returns empty #2

Closed
zhh210 opened this issue Mar 25, 2025 · 2 comments
Closed

Interactive chat always returns empty #2

zhh210 opened this issue Mar 25, 2025 · 2 comments

Comments

@zhh210
Copy link

zhh210 commented Mar 25, 2025

This tool is very neat but I'm only getting empty output:

$ ~/.local/bin/y-cli chat
Connected to MCP daemon
Server 'todo' available via daemon
╭────────────────────────────────── [0] User 2025-03-25T01:47:30+00:00 ──────────────────────────────────╮
│ todo                                                                                                   │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─────────────────────────────── [1] Assistant 2025-03-25T01:47:31+00:00 ────────────────────────────────╮
╰────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭────────────────────────────────── [2] User 2025-03-25T01:47:40+00:00 ──────────────────────────────────╮
│ which  tools are available                                                                             │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─────────────────────────────── [3] Assistant 2025-03-25T01:47:40+00:00 ────────────────────────────────╮
╰────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Enter:                                                                                                    

Chat interrupted. Exiting...
@zhh210 zhh210 changed the title Error of MCP daemon doesn't exist for Interactive chat Interactive chat always returns empty Mar 25, 2025
@luohy15
Copy link
Owner

luohy15 commented Mar 25, 2025

try calling your api directly (with the same base_url/api_key/model) to see if any error occurs
openrouter-api for example

@zhh210
Copy link
Author

zhh210 commented Mar 25, 2025

Somehow the llm configure wasn't set properly when I was running y-cli init. The interactive chat feature worked seamlessly after manually configuring the ~/.local/share/y-cli/bot_config.jsonl file. Really appreciate your excellent work!

@zhh210 zhh210 closed this as completed Mar 25, 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

2 participants