Giter Club home page Giter Club logo

Comments (4)

dosubot avatar dosubot commented on June 12, 2024 2

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.

from langchain-chatchat.

JesseXYF avatar JesseXYF commented on June 12, 2024

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

from langchain-chatchat.

starry-sky-domain avatar starry-sky-domain commented on June 12, 2024

from langchain-chatchat.

JesseXYF avatar JesseXYF commented on June 12, 2024

from langchain-chatchat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.