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

[BUG] 简洁阐述问题 / Concise description of the issue #3907

Closed
starry-sky-domain opened this issue Apr 27, 2024 · 4 comments
Closed

[BUG] 简洁阐述问题 / Concise description of the issue #3907

starry-sky-domain opened this issue Apr 27, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@starry-sky-domain
Copy link

问题描述 / Problem Description
开发者有没有验证过基于在线模型 Gemini 、Claude 的在线API调用?根本就跑不通。是拿来凑数的吗?
使用 Gemini 在线模型,调用 Gemini 接口的时候,直接就阻塞了。毫无反应。

@starry-sky-domain starry-sky-domain added the bug Something isn't working label Apr 27, 2024
Copy link

dosubot bot commented Apr 27, 2024

It appears there might be several factors contributing to the issue you're experiencing with the Gemini and Claude online model APIs. For the Gemini API, the problem could stem from dependencies like fastchat for conversation handling, httpx for HTTP requests, or issues with the external service itself at https://generativelanguage.googleapis.com/v1beta/models/gemini-pro:generateContent. Any downtime, rate limiting, or API changes with this external service could lead to the blocking behavior you've observed.

For the Claude online model, recent updates indicated by headers such as 'anthropic-beta' with the value 'messages-2023-12-15' suggest there have been changes that could potentially affect API behavior. Both models require specific configurations, including API keys and model names, which if not correctly set, could also cause issues.

The provided code does include logging, especially if log_verbose is set to True, which could offer more insights into the request being made and help in debugging the issue. Checking the logs for any error messages or unusual behavior during the API call could be a good starting point.

If you're still facing issues, ensuring that all configurations are correctly set according to the latest documentation and checking for any updates or known issues with the external services or dependencies could help resolve the problem.

Details

Sources


About Dosu
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.

Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

To continue the conversation, mention @dosu.

@JesseXYF
Copy link

你是不是搭建的有什么问题,我搭建的在线模型 Gemini 还在正常使用

@starry-sky-domain
Copy link
Author

starry-sky-domain commented Apr 28, 2024 via email

@JesseXYF
Copy link

JesseXYF commented Apr 28, 2024 via email

@zRzRzRzRzRzRzR zRzRzRzRzRzRzR self-assigned this May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants