langflow-ai / langflow

Langflow is a low-code app builder for RAG and multi-agent AI applications. It’s Python-based and agnostic to any model, API, or database.
http://www.langflow.org
MIT License
35.15k stars 4.19k forks source link

Groq in the Agent component is not loading models #4729

Open SavvySupport opened 2 days ago

SavvySupport commented 2 days ago

Bug Description

I'm trying to use Groq within the Agent component, however even after I enter in the API Key, it won't show me any models to select.

Reproduction

  1. Select the Agent component
  2. Select Groq as the model provider
  3. Enter in Groq API key
  4. Click on "refresh" under "Model"
  5. The message reads "No parameters are available for display."

Expected behavior

Expecting to see list of models to select from, just as we do with the Groq component.

Who can help?

No response

Operating System

MacOS

Langflow Version

1.1

Python Version

3.10

Screenshot

Screenshot 2024-11-20 at 12 55 38 pm

Flow File

No response

dosubot[bot] commented 2 days ago

I found a similar issue that was previously reported: Groq component not showing models. This issue was resolved by updating to version 1.0.18. Although your Langflow version is 1.1, it might be worth checking if there are any updates or patches available beyond this version that could address your problem.

Additionally, ensure that your API key and base URL are correctly configured. The GroqModel class uses these settings to fetch models from the Groq API. If there is an error in fetching the models, the system will display an error message and return an empty list [1].

To continue talking to Dosu, mention @dosu.