All task failed
Hi, All my simple task failed with Gemini 2.5 flash. What can i do ?
thx
Gemini 2.5 pro too
me too
Yup same. Not sure if it's the amount of requests been made exceeding rate limits or something.
Can you help me
I___onkno__ll k_kmmk@OlivierSala - [ ] - [ ] - [ ] - ### - [ ] - - u_@OlivierSala - - - [ ] - [ ] - [ ] - - ____@OlivierSala ___________
@OlivierSala can you post logs from the bytebot-agent? Can't reproduce this
@atupem i'm olivier ;)
Starting bytebot-agent application...
[Nest] 18 - 09/04/2025, 5:49:01 PM LOG [NestFactory] Starting Nest application...
[Nest] 18 - 09/04/2025, 5:49:01 PM LOG [InstanceLoader] PrismaModule dependencies initialized +50ms
[Nest] 18 - 09/04/2025, 5:49:01 PM LOG [InstanceLoader] ConfigHostModule dependencies initialized +2ms
[Nest] 18 - 09/04/2025, 5:49:01 PM LOG [InstanceLoader] AppModule dependencies initialized +0ms
[Nest] 18 - 09/04/2025, 5:49:01 PM LOG [InstanceLoader] DiscoveryModule dependencies initialized +0ms
[Nest] 18 - 09/04/2025, 5:49:01 PM LOG [InstanceLoader] SummariesModule dependencies initialized +0ms
[Nest] 18 - 09/04/2025, 5:49:01 PM LOG [InstanceLoader] MessagesModule dependencies initialized +1ms
[Nest] 18 - 09/04/2025, 5:49:01 PM LOG [InstanceLoader] ConfigModule dependencies initialized +1ms
[Nest] 18 - 09/04/2025, 5:49:01 PM LOG [InstanceLoader] ConfigModule dependencies initialized +0ms
[Nest] 18 - 09/04/2025, 5:49:01 PM LOG [InstanceLoader] EventEmitterModule dependencies initialized +0ms
[Nest] 18 - 09/04/2025, 5:49:01 PM LOG [InstanceLoader] ScheduleModule dependencies initialized +0ms
[Nest] 18 - 09/04/2025, 5:49:01 PM WARN [AgentAnalyticsService] BYTEBOT_ANALYTICS_ENDPOINT is not set. Analytics service disabled.
[Nest] 18 - 09/04/2025, 5:49:01 PM WARN [AnthropicService] ANTHROPIC_API_KEY is not set. AnthropicService will not work properly.
[Nest] 18 - 09/04/2025, 5:49:01 PM WARN [OpenAIService] OPENAI_API_KEY is not set. OpenAIService will not work properly.
[Nest] 18 - 09/04/2025, 5:49:01 PM WARN [ProxyService] BYTEBOT_LLM_PROXY_URL is not set. ProxyService will not work properly.
[Nest] 18 - 09/04/2025, 5:49:01 PM LOG [TasksService] TasksService initialized
[Nest] 18 - 09/04/2025, 5:49:01 PM LOG [InstanceLoader] AnthropicModule dependencies initialized +1ms
[Nest] 18 - 09/04/2025, 5:49:01 PM LOG [InstanceLoader] OpenAIModule dependencies initialized +0ms
[Nest] 18 - 09/04/2025, 5:49:01 PM LOG [InstanceLoader] GoogleModule dependencies initialized +0ms
[Nest] 18 - 09/04/2025, 5:49:01 PM LOG [InstanceLoader] ProxyModule dependencies initialized +0ms
[Nest] 18 - 09/04/2025, 5:49:01 PM LOG [AgentProcessor] AgentProcessor initialized
[Nest] 18 - 09/04/2025, 5:49:01 PM LOG [InstanceLoader] TasksModule dependencies initialized +0ms
[Nest] 18 - 09/04/2025, 5:49:01 PM LOG [InstanceLoader] AgentModule dependencies initialized +1ms
[Nest] 18 - 09/04/2025, 5:49:01 PM LOG [WebSocketsController] TasksGateway subscribed to the "join_task" message +27ms
[Nest] 18 - 09/04/2025, 5:49:01 PM LOG [WebSocketsController] TasksGateway subscribed to the "leave_task" message +0ms
[Nest] 18 - 09/04/2025, 5:49:01 PM LOG [RoutesResolver] AppController {/api}: +5ms
[Nest] 18 - 09/04/2025, 5:49:01 PM LOG [RouterExplorer] Mapped {/api, GET} route +3ms
[Nest] 18 - 09/04/2025, 5:49:01 PM LOG [RoutesResolver] TasksController {/api/tasks}: +1ms
[Nest] 18 - 09/04/2025, 5:49:01 PM LOG [RouterExplorer] Mapped {/api/tasks, POST} route +2ms
[Nest] 18 - 09/04/2025, 5:49:01 PM LOG [RouterExplorer] Mapped {/api/tasks, GET} route +4ms
[Nest] 18 - 09/04/2025, 5:49:01 PM LOG [RouterExplorer] Mapped {/api/tasks/models, GET} route +1ms
[Nest] 18 - 09/04/2025, 5:49:01 PM LOG [RouterExplorer] Mapped {/api/tasks/:id, GET} route +3ms
[Nest] 18 - 09/04/2025, 5:49:01 PM LOG [RouterExplorer] Mapped {/api/tasks/:id/messages, GET} route +1ms
[Nest] 18 - 09/04/2025, 5:49:01 PM LOG [RouterExplorer] Mapped {/api/tasks/:id/messages, POST} route +2ms
[Nest] 18 - 09/04/2025, 5:49:01 PM LOG [RouterExplorer] Mapped {/api/tasks/:id/messages/raw, GET} route +1ms
[Nest] 18 - 09/04/2025, 5:49:01 PM LOG [RouterExplorer] Mapped {/api/tasks/:id/messages/processed, GET} route +2ms
[Nest] 18 - 09/04/2025, 5:49:01 PM LOG [RouterExplorer] Mapped {/api/tasks/:id, DELETE} route +1ms
[Nest] 18 - 09/04/2025, 5:49:01 PM LOG [RouterExplorer] Mapped {/api/tasks/:id/takeover, POST} route +1ms
[Nest] 18 - 09/04/2025, 5:49:01 PM LOG [RouterExplorer] Mapped {/api/tasks/:id/resume, POST} route +1ms
[Nest] 18 - 09/04/2025, 5:49:01 PM LOG [RouterExplorer] Mapped {/api/tasks/:id/cancel, POST} route +1ms
[Nest] 18 - 09/04/2025, 5:49:01 PM LOG [AgentScheduler] AgentScheduler initialized
[Nest] 18 - 09/04/2025, 5:49:01 PM LOG [NestApplication] Nest application successfully started +66ms
[Nest] 18 - 09/05/2025, 5:02:22 PM LOG [TasksService] Retrieving tasks - page: 1, limit: 5, statuses: undefined
Client connected: p9rtrd3qtBSryc_dAAAB
[Nest] 18 - 09/05/2025, 5:02:22 PM DEBUG [TasksService] Retrieved 5 tasks out of 5 total
Client connected: zGpZY1wXiWMfi5KwAAAD
[Nest] 18 - 09/05/2025, 5:02:22 PM LOG [TasksService] Retrieving tasks - page: 1, limit: 5, statuses: undefined
[Nest] 18 - 09/05/2025, 5:02:22 PM DEBUG [TasksService] Retrieved 5 tasks out of 5 total
Client disconnected: p9rtrd3qtBSryc_dAAAB
Client disconnected: zGpZY1wXiWMfi5KwAAAD
[Nest] 18 - 09/05/2025, 5:02:33 PM LOG [TasksService] Retrieving task by ID: c2c10e68-f60f-4a67-ba31-dfcb8a5413cf
[Nest] 18 - 09/05/2025, 5:02:33 PM DEBUG [TasksService] Retrieved task with ID: c2c10e68-f60f-4a67-ba31-dfcb8a5413cf
Client connected: VbTP3REOJMGRu5RnAAAF
Client VbTP3REOJMGRu5RnAAAF joined task c2c10e68-f60f-4a67-ba31-dfcb8a5413cf
Client disconnected: VbTP3REOJMGRu5RnAAAF
[Nest] 18 - 09/05/2025, 5:02:39 PM LOG [TasksService] Retrieving tasks - page: 1, limit: 5, statuses: undefined
[Nest] 18 - 09/05/2025, 5:02:39 PM DEBUG [TasksService] Retrieved 5 tasks out of 5 total
[Nest] 18 - 09/05/2025, 5:02:39 PM LOG [TasksService] Retrieving tasks - page: 1, limit: 5, statuses: undefined
[Nest] 18 - 09/05/2025, 5:02:39 PM DEBUG [TasksService] Retrieved 5 tasks out of 5 total
Client connected: w5FUyZf-yvgYZH3YAAAI
Client connected: Y2MGwQIcKG54VAn8AAAJ
Client disconnected: w5FUyZf-yvgYZH3YAAAI
Client disconnected: Y2MGwQIcKG54VAn8AAAJ
[Nest] 18 - 09/05/2025, 5:02:49 PM LOG [TasksService] Retrieving tasks - page: 1, limit: 10, statuses: undefined
[Nest] 18 - 09/05/2025, 5:02:49 PM LOG [TasksService] Retrieving tasks - page: 1, limit: 10, statuses: undefined
[Nest] 18 - 09/05/2025, 5:02:49 PM DEBUG [TasksService] Retrieved 5 tasks out of 5 total
[Nest] 18 - 09/05/2025, 5:02:49 PM DEBUG [TasksService] Retrieved 5 tasks out of 5 total
[Nest] 18 - 09/05/2025, 5:02:49 PM LOG [TasksService] Retrieving tasks - page: 1, limit: 1, statuses: PENDING,RUNNING,NEEDS_HELP,NEEDS_REVIEW
[Nest] 18 - 09/05/2025, 5:02:49 PM LOG [TasksService] Retrieving tasks - page: 1, limit: 1, statuses: COMPLETED
[Nest] 18 - 09/05/2025, 5:02:49 PM DEBUG [TasksService] Retrieved 0 tasks out of 0 total
[Nest] 18 - 09/05/2025, 5:02:49 PM DEBUG [TasksService] Retrieved 0 tasks out of 0 total
[Nest] 18 - 09/05/2025, 5:02:49 PM LOG [TasksService] Retrieving tasks - page: 1, limit: 1, statuses: CANCELLED,FAILED
[Nest] 18 - 09/05/2025, 5:02:50 PM DEBUG [TasksService] Retrieved 1 tasks out of 5 total
[Nest] 18 - 09/05/2025, 5:02:51 PM LOG [TasksService] Retrieving task by ID: c2c10e68-f60f-4a67-ba31-dfcb8a5413cf
[Nest] 18 - 09/05/2025, 5:02:51 PM DEBUG [TasksService] Retrieved task with ID: c2c10e68-f60f-4a67-ba31-dfcb8a5413cf
Client connected: RMrNPAvALIKrWxm9AAAL
Client RMrNPAvALIKrWxm9AAAL joined task c2c10e68-f60f-4a67-ba31-dfcb8a5413cf
Client disconnected: RMrNPAvALIKrWxm9AAAL
[Nest] 18 - 09/05/2025, 5:02:55 PM LOG [TasksService] Retrieving tasks - page: 1, limit: 5, statuses: undefined
[Nest] 18 - 09/05/2025, 5:02:55 PM DEBUG [TasksService] Retrieved 5 tasks out of 5 total
[Nest] 18 - 09/05/2025, 5:02:55 PM LOG [TasksService] Retrieving tasks - page: 1, limit: 5, statuses: undefined
[Nest] 18 - 09/05/2025, 5:02:55 PM DEBUG [TasksService] Retrieved 5 tasks out of 5 total
Client connected: TRKpTxfIifGNuwuuAAAO
Client connected: 1pST3cWN-Ke2dDKUAAAP
[Nest] 18 - 09/05/2025, 5:03:03 PM LOG [TasksService] Creating new task with description: Donne moi le prix du fioul domestique pour le village de paris sur le site de fioulreduc
[Nest] 18 - 09/05/2025, 5:03:03 PM DEBUG [TasksService] Creating task record in database
[Nest] 18 - 09/05/2025, 5:03:03 PM LOG [TasksService] Task created successfully with ID: c1448873-3a64-4faa-bbe0-25d209d03b00
[Nest] 18 - 09/05/2025, 5:03:03 PM DEBUG [TasksService] Creating initial message for task ID: c1448873-3a64-4faa-bbe0-25d209d03b00
[Nest] 18 - 09/05/2025, 5:03:03 PM DEBUG [TasksService] Initial message created for task ID: c1448873-3a64-4faa-bbe0-25d209d03b00
Client disconnected: TRKpTxfIifGNuwuuAAAO
Client disconnected: 1pST3cWN-Ke2dDKUAAAP
[Nest] 18 - 09/05/2025, 5:03:03 PM LOG [TasksService] Retrieving task by ID: c1448873-3a64-4faa-bbe0-25d209d03b00
[Nest] 18 - 09/05/2025, 5:03:03 PM DEBUG [TasksService] Retrieved task with ID: c1448873-3a64-4faa-bbe0-25d209d03b00
Client connected: SIos5CSQ0m18CGVCAAAR
Client SIos5CSQ0m18CGVCAAAR joined task c1448873-3a64-4faa-bbe0-25d209d03b00
[Nest] 18 - 09/05/2025, 5:03:05 PM LOG [TasksService] Found existing task with ID: c1448873-3a64-4faa-bbe0-25d209d03b00, and status PENDING. Resuming.
[Nest] 18 - 09/05/2025, 5:03:05 PM LOG [TasksService] Updating task with ID: c1448873-3a64-4faa-bbe0-25d209d03b00
[Nest] 18 - 09/05/2025, 5:03:05 PM DEBUG [TasksService] Update data: {"status":"RUNNING","executedAt":"2025-09-05T17:03:05.007Z"}
[Nest] 18 - 09/05/2025, 5:03:05 PM LOG [TasksService] Retrieving task by ID: c1448873-3a64-4faa-bbe0-25d209d03b00
[Nest] 18 - 09/05/2025, 5:03:05 PM DEBUG [TasksService] Retrieved task with ID: c1448873-3a64-4faa-bbe0-25d209d03b00
[Nest] 18 - 09/05/2025, 5:03:05 PM LOG [TasksService] Successfully updated task ID: c1448873-3a64-4faa-bbe0-25d209d03b00
[Nest] 18 - 09/05/2025, 5:03:05 PM DEBUG [TasksService] Updated task: {"id":"c1448873-3a64-4faa-bbe0-25d209d03b00","description":"Donne moi le prix du fioul domestique pour le village de paris sur le site de fioulreduc","type":"IMMEDIATE","status":"RUNNING","priority":"MEDIUM","control":"ASSISTANT","createdAt":"2025-09-05T17:03:03.736Z","createdBy":"USER","scheduledFor":null,"updatedAt":"2025-09-05T17:03:05.011Z","executedAt":"2025-09-05T17:03:05.007Z","completedAt":null,"queuedAt":null,"error":null,"result":null,"model":{"name":"gemini-2.5-pro","title":"Gemini 2.5 Pro","provider":"google","contextWindow":1000000}}
[Nest] 18 - 09/05/2025, 5:03:05 PM DEBUG [AgentScheduler] Processing task ID: c1448873-3a64-4faa-bbe0-25d209d03b00
[Nest] 18 - 09/05/2025, 5:03:05 PM LOG [AgentProcessor] Starting processing for task ID: c1448873-3a64-4faa-bbe0-25d209d03b00
[Nest] 18 - 09/05/2025, 5:03:05 PM LOG [TasksService] Retrieving task by ID: c1448873-3a64-4faa-bbe0-25d209d03b00
[Nest] 18 - 09/05/2025, 5:03:05 PM DEBUG [TasksService] Retrieved task with ID: c1448873-3a64-4faa-bbe0-25d209d03b00
[Nest] 18 - 09/05/2025, 5:03:05 PM LOG [AgentProcessor] Processing iteration for task ID: c1448873-3a64-4faa-bbe0-25d209d03b00
[Nest] 18 - 09/05/2025, 5:03:05 PM DEBUG [AgentProcessor] Sending 1 messages to LLM for processing
[Nest] 18 - 09/05/2025, 5:03:08 PM DEBUG [AgentProcessor] Received 2 content blocks from LLM
[Nest] 18 - 09/05/2025, 5:03:08 PM DEBUG [AgentProcessor] Token usage for task c1448873-3a64-4faa-bbe0-25d209d03b00: 4408/1000000 (0%)
[Nest] 18 - 09/05/2025, 5:03:08 PM DEBUG [AgentProcessor] Handling computer tool use: computer_screenshot, tool_use_id: 787ff525-d5b2-4493-8f7d-34859ffc3aaf
[Nest] 18 - 09/05/2025, 5:03:08 PM DEBUG [AgentProcessor] Processing screenshot request
[Nest] 18 - 09/05/2025, 5:03:08 PM DEBUG [AgentProcessor] Taking screenshot
Taking screenshot
[Nest] 18 - 09/05/2025, 5:03:09 PM DEBUG [AgentProcessor] Screenshot captured successfully
[Nest] 18 - 09/05/2025, 5:03:09 PM LOG [TasksService] Retrieving task by ID: c1448873-3a64-4faa-bbe0-25d209d03b00
[Nest] 18 - 09/05/2025, 5:03:09 PM DEBUG [TasksService] Retrieved task with ID: c1448873-3a64-4faa-bbe0-25d209d03b00
[Nest] 18 - 09/05/2025, 5:03:09 PM LOG [AgentProcessor] Processing iteration for task ID: c1448873-3a64-4faa-bbe0-25d209d03b00
[Nest] 18 - 09/05/2025, 5:03:09 PM DEBUG [AgentProcessor] Sending 3 messages to LLM for processing
[Nest] 18 - 09/05/2025, 5:03:13 PM DEBUG [AgentProcessor] Received 2 content blocks from LLM
[Nest] 18 - 09/05/2025, 5:03:13 PM DEBUG [AgentProcessor] Token usage for task c1448873-3a64-4faa-bbe0-25d209d03b00: 4689/1000000 (0%)
[Nest] 18 - 09/05/2025, 5:03:13 PM DEBUG [AgentProcessor] Handling computer tool use: computer_click_mouse, tool_use_id: 5509e410-cb74-4814-9911-0440d1eb72bd
Clicking mouse left 2 times at coordinates: [63, 53]
[Nest] 18 - 09/05/2025, 5:03:14 PM DEBUG [AgentProcessor] Waiting 750ms before taking screenshot
[Nest] 18 - 09/05/2025, 5:03:14 PM DEBUG [AgentProcessor] Taking screenshot
Taking screenshot
[Nest] 18 - 09/05/2025, 5:03:15 PM DEBUG [AgentProcessor] Screenshot captured successfully
[Nest] 18 - 09/05/2025, 5:03:15 PM DEBUG [AgentProcessor] Tool execution successful for tool_use_id: 5509e410-cb74-4814-9911-0440d1eb72bd
[Nest] 18 - 09/05/2025, 5:03:15 PM LOG [TasksService] Retrieving task by ID: c1448873-3a64-4faa-bbe0-25d209d03b00
[Nest] 18 - 09/05/2025, 5:03:15 PM DEBUG [TasksService] Retrieved task with ID: c1448873-3a64-4faa-bbe0-25d209d03b00
[Nest] 18 - 09/05/2025, 5:03:15 PM LOG [AgentProcessor] Processing iteration for task ID: c1448873-3a64-4faa-bbe0-25d209d03b00
[Nest] 18 - 09/05/2025, 5:03:15 PM DEBUG [AgentProcessor] Sending 5 messages to LLM for processing
[Nest] 18 - 09/05/2025, 5:03:28 PM LOG [TasksService] Updating task with ID: c1448873-3a64-4faa-bbe0-25d209d03b00
[Nest] 18 - 09/05/2025, 5:03:28 PM DEBUG [TasksService] Update data: {"status":"FAILED"}
[Nest] 18 - 09/05/2025, 5:03:28 PM LOG [TasksService] Retrieving task by ID: c1448873-3a64-4faa-bbe0-25d209d03b00
[Nest] 18 - 09/05/2025, 5:03:28 PM ERROR [GoogleService] Error sending message to Google Gemini: No parts found in content
Error: No parts found in content
at GoogleService.generateMessage (/app/bytebot-agent/dist/google/google.service.js:67:23)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async AgentProcessor.runIteration (/app/bytebot-agent/dist/agent/agent.processor.js:138:29)
[Nest] 18 - 09/05/2025, 5:03:28 PM ERROR [AgentProcessor] Error during task processing iteration for task ID: c1448873-3a64-4faa-bbe0-25d209d03b00 - No parts found in content
Error: No parts found in content
at GoogleService.generateMessage (/app/bytebot-agent/dist/google/google.service.js:67:23)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async AgentProcessor.runIteration (/app/bytebot-agent/dist/agent/agent.processor.js:138:29)
[Nest] 18 - 09/05/2025, 5:03:28 PM DEBUG [TasksService] Retrieved task with ID: c1448873-3a64-4faa-bbe0-25d209d03b00
[Nest] 18 - 09/05/2025, 5:03:28 PM LOG [TasksService] Successfully updated task ID: c1448873-3a64-4faa-bbe0-25d209d03b00
[Nest] 18 - 09/05/2025, 5:03:28 PM DEBUG [TasksService] Updated task: {"id":"c1448873-3a64-4faa-bbe0-25d209d03b00","description":"Donne moi le prix du fioul domestique pour la ville de paris sur le site de fioulreduc","type":"IMMEDIATE","status":"FAILED","priority":"MEDIUM","control":"ASSISTANT","createdAt":"2025-09-05T17:03:03.736Z","createdBy":"USER","scheduledFor":null,"updatedAt":"2025-09-05T17:03:28.092Z","executedAt":"2025-09-05T17:03:05.007Z","completedAt":null,"queuedAt":null,"error":null,"result":null,"model":{"name":"gemini-2.5-pro","title":"Gemini 2.5 Pro","provider":"google","contextWindow":1000000}}
Client disconnected: SIos5CSQ0m18CGVCAAAR
[Nest] 18 - 09/05/2025, 5:03:33 PM LOG [TasksService] Retrieving tasks - page: 1, limit: 5, statuses: undefined
[Nest] 18 - 09/05/2025, 5:03:33 PM DEBUG [TasksService] Retrieved 5 tasks out of 6 total
[Nest] 18 - 09/05/2025, 5:03:33 PM LOG [TasksService] Retrieving tasks - page: 1, limit: 5, statuses: undefined
[Nest] 18 - 09/05/2025, 5:03:33 PM DEBUG [TasksService] Retrieved 5 tasks out of 6 total
Client connected: Ff7MKcRrrewDYKoBAAAU
Client connected: 2O02YN7OCd4TBEYyAAAV
Client disconnected: Ff7MKcRrrewDYKoBAAAU
Client disconnected: 2O02YN7OCd4TBEYyAAAV
check if your daily usage limit has been exhausted , try with different account or other llms .
I'm pro user and my daily is good.
I'm pro user and my daily is good.
yea but having gemini pro doesnt guarantee you would have free api too right . for api i think there is a separate billing , so bytecode is generating too many requests at once just for one task and we have used the free tier daily limit . we can only make 5 request per minute in a day but bytecode for me used 7 rpm and exhausted the free tier dialy limit and showing 429 error attaching you the screen shot
I have error on Bytebot, but if i use my api in a python script it works... So i don't think that the limit is reach.
I'm pro user and my daily is good.
yea but having gemini pro doesnt guarantee you would have free api too right . for api i think there is a separate billing , so bytecode is generating too many requests at once just for one task and we have used the free tier daily limit . we can only make 5 request per minute in a day but bytecode for me used 7 rpm and exhausted the free tier dialy limit and showing 429 error attaching you the screen shot
complex tasks are using more api requests at once in a minute and exhausting the daily limit
This could help fix the problem: if Gemini’s RPM were capped at 5 or less, we could make 100 requests before reaching the daily usage limit.
If usage limit is the real issue then we should just add delay the requests made in the code and retry , that might work ig
The Gemini and GPT5 models are not working very well with bytebot. They seem to have problems with screen co-ordinates. Only Claude models are working well, opus 4.1 especially fantastic here but incredibly expensive. Sonnet 4 works ok not as well as opus though.
查看一下日志,看看模型外联是否成功
So i have API KEY Gemini and it work not better ... I think the project is too young now but big potentiel.
I try with Claude API, it's fantastic
complex tasks are using more api requests at once in a minute and exhausting the daily limit