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

How can I ensure that I have successfully run the program? #10

Open
GitHubbirdfjh opened this issue Mar 7, 2025 · 9 comments
Open

How can I ensure that I have successfully run the program? #10

GitHubbirdfjh opened this issue Mar 7, 2025 · 9 comments

Comments

@GitHubbirdfjh
Copy link

Image
After running the script, the terminal keeps showing this message, and there's no response even after a long time. I'm not sure what the issue is. Could someone help me understand what's going wrong?

@vinesmsuic
Copy link
Member

vinesmsuic commented Mar 7, 2025

It should have some repsonse immediately. Can you check if your model key and internet was properly configured?

@jmeviler
Copy link

jmeviler commented Mar 7, 2025

When running the demo, I also encountered this issue. I suggest you enable the debug mode in littlellm...

@GitHubbirdfjh
Copy link
Author

When running the demo, I also encountered this issue. I suggest you enable the debug mode in littlellm...

How did you solve it? Is this an API issue? I'm actually using an API key from an aggregated website, not the official one. Does that make a difference?

@GitHubbirdfjh
Copy link
Author

It should have some repsonse immediately. Can you check if your model key and internet was properly configured?

It might be an issue with my API. I’m trying to resolve it. Thanks

@GitHubbirdfjh
Copy link
Author

When running the demo, I also encountered this issue. I suggest you enable the debug mode in littlellm...在运行 demo 时,我也遇到了这个问题。我建议你在 littlellm 中启用调试模式...

Where can I modify the base_url?

@kforkkk
Copy link

kforkkk commented Mar 7, 2025

@GitHubbirdfjh i think may be in the litellm.py

Image
in the completion method , you can find base_url as its parameter.

@betoge
Copy link

betoge commented Mar 8, 2025

@GitHubbirdfjh add variables like XXX_API_BASE in .env file

Image

@GitHubbirdfjh
Copy link
Author

@GitHubbirdfjh add variables like XXX_API_BASE in .env file在 .env 文件中添加 XXX_API_BASE 等变量

Image

Thank you! Can DeepSeek be successfully invoked?

@GitHubbirdfjh
Copy link
Author

@GitHubbirdfjh i think may be in the litellm.py我想可能在 litellm.py

Image in the completion method , you can find base_url as its parameter.在 completion method 中,您可以找到 base_url 作为其参数。

Thank you! I'll go check it out.

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

5 participants