Commit Graph

69 Commits

Author SHA1 Message Date
Alessandro 524bb30ce6 fix(gemini): Correct invalid schema by removing 'title' from required list 2025-08-28 14:31:18 +02:00
Goldener Stefan 77b7474f63 Merge branch 'main' into gemma 2025-08-08 06:35:34 +02:00
mertunsall 073b6bdbce hotfix 2025-08-07 20:36:11 +01:00
Goldener Stefan 593f7e7178 Merge branch 'main' into gemma 2025-08-03 20:57:55 +02:00
Jai 87e856d319 Merge branch 'main' into fix/gemini-dict-type-field-handling 2025-08-01 20:46:32 +05:30
Goldener Stefan 7d0b2f411c fix lint errors 2025-07-31 13:22:36 +02:00
Goldener Stefan 6ddeb2324e extend supported model list 2025-07-31 13:09:57 +02:00
Goldener Stefan cbc951995b add gemma support 2025-07-31 13:05:06 +02:00
Jai 5405024889 fix: handle non-string type fields in Gemini schema processing 2025-07-27 10:55:47 +05:30
Matic Zavadlal 63cb5613a5 commit 2025-07-22 18:50:17 +02:00
mertunsall 0d6d759c5c hotfix 2025-07-03 13:46:00 +02:00
mertunsall 05ef50fdf1 add thinking budget to gemini and fix evals 2025-07-03 13:40:17 +02:00
Gregor Žunič 5d9fca7c4b optimized schema for all models 2025-06-28 09:28:54 +02:00
Mert Unsal 7b30351975 Update browser_use/llm/google/chat.py
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-06-27 13:16:27 +02:00
mertunsall 80cf4f872c google chat add config option 2025-06-27 13:10:39 +02:00
Magnus Müller 7fb8e5b39b feat: implement SDK-native rate limiting for improved reliability
- Increase max_retries to 10 for all LLM providers (was 2-3)
- OpenAI: Use built-in retry with exponential backoff, jitter, Retry-After header support
- Anthropic: Use built-in retry with intelligent error classification
- Groq: Use built-in retry with capacity exceeded handling (498 errors)
- Google: Implement custom retry logic with pattern-based error detection
- Azure: Inherits improved retry from OpenAI base class

Benefits:
- More resilient to temporary API issues during automation
- Leverages provider SDKs' optimized retry logic
- Reduces custom retry code maintenance burden
- Automatically handles provider-specific error patterns

All providers now retry rate limits, server errors, and connection issues
while skipping authentication errors and bad requests.
2025-06-26 18:08:51 +02:00
Gregor Žunič 2ee526d903 updated pricing for cached tokens support 2025-06-25 15:33:47 +02:00
Gregor Žunič 737c292e75 removed save image google serializer 2025-06-24 12:46:00 +02:00
Gregor Žunič 7a10ae0c96 Squashed commit langchain to native 2025-06-24 12:26:55 +02:00