Skip to content

[BUG] Groq API incompatibility with Browser Agent tool schema #1511

@SuKops

Description

@SuKops

What version of eigent are you using?

Version: Eigent v0.0.88

System information

When using Groq API via OpenAI Compatible BYOK configuration, all tasks (including simple chat and writing tasks) are routed through the Browser Agent which fails with a 400 error due to strict JSON schema validation on Groq's side.

Problem description

BadRequestError: Error code: 400 - {'error': {'message': 'invalid JSON
schema for tool browser_type, tools[2].function.parameters:
/properties/inputs/anyOf/0/items: additionalProperties:false must be
set on every object', 'type': 'invalid_request_error', 'param': 'tool
browser_type, tools[2].function.parameters'}}
(assigned to worker: Browser Agent)

log

Provider: OpenAI Compatible (Groq)
API Host: https://api.groq.com/openai/v1
Model: llama-3.3-70b-versatile
OS: Windows

Additional context

Steps to Reproduce:

Configure Groq via BYOK → OpenAI Compatible
Set as Default model
Run any task in Eigent (web search, writing, chat)
Error appears — task fails immediately

Expected Behaviour:
Simple tasks like writing and chat should work without browser tools
Browser Agent should only activate when web browsing is explicitly needed

Actual Behaviour:

All tasks routed to Browser Agent regardless of task type
Groq rejects the tool schema with 400 error
Task fails immediately

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions