Skip to content

Groq Component : error to fetch models LLM #11120

Description

@Anthony-Perriolat

Bug Description

When I add component Groq and i refresh list model to field model, i had errors strange and i havn't list to models llm on groq.
I have only 2 models llama 3.1 8B and 70b

Errors when i fetched :

Error while updating the Component

    Error code: 400 - {'error': {'message': 'The model canopylabs/orpheus-arabic-saudi does not support chat completions', 'type': 'invalid_request_error'}}

Error while updating the Component

    Error code: 400 - {'error': {'message': 'tool calling is not supported with this model', 'type': 'invalid_request_error', 'param': 'tool calling'}}
Error while updating the Component

    Error code: 400 - {'error': {'message': 'The model canopylabs/orpheus-arabic-saudi requires terms acceptance. Please have the org admin accept the terms at https://console.groq.com/playground?model=canopylabs%2Forpheus-arabic-saudi', 'type': 'invalid_request_error', 'code': 'model_terms_required'}}

Error while updating the Component

    Error code: 400 - {'error': {'message': "Failed to call a function. Please adjust your prompt. See 'failed_generation' for more details.", 'type': 'invalid_request_error', 'code': 'tool_use_failed', 'failed_generation': '<function=test_tool>{"x": "test"'}}

I tried to change url base by "https://api.groq.com/openai/v1/" but noting happen

Error while updating the Component

    Error code: 400 - {'error': {'message': "Failed to call a function. Please adjust your prompt. See 'failed_generation' for more details.", 'type': 'invalid_request_error', 'code': 'tool_use_failed', 'failed_generation': '<function=test_tool>{"x": "test_data'}}
Image Image

Log docker :

2025-12-21T08:53:25.796292Z [info     ] Found 21 models from Groq API 

2025-12-21T08:53:25.796490Z [info     ] Testing 13 LLM models for tool calling support...

2025-12-21T08:53:25.944033Z [info     ] Client error during session scope: 400: Error code: 400 - {'error': {'message': 'tool calling' is not supported with this model', 'type': 'invalid_request_error', 'param': 'tool calling'}}

Reproduction

Install with docker -> docker run -p 7860:7860 langflowai/langflow:latest
make poject and add component Groq.

Expected behavior

I would like get list models with gpt OSS 20b

Who can help?

@ogabrielluiz - @nicoloboschi - @zzzming - @jordanrfrazier - @mfortman11 - @NadirJ

Operating System

Ubuntu linux 24.04

Langflow Version

latest => 1.7.1

Python Version

3.12

Screenshot

No response

Flow File

No response

Metadata

Metadata

Labels

bugSomething isn't workingjiraThis issue has been logged in Jira for fix by the engineering team.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions