Commit Graph

312 Commits

Author SHA1 Message Date
Magnus Müller 87ef1325e8 Update test_single_step.py to specify message type in _add_message_with_type calls, enhancing message categorization in tests. 2025-07-08 23:37:34 +02:00
AI Christianson d729720ce2 Fix regression. 2025-07-06 17:47:50 -04:00
AI Christianson 8430f21cf6 Fix linter errors. 2025-07-06 17:28:41 -04:00
AI Christianson 051054decd Fix bug where schema optimizer was stripping the title field from our output schema. 2025-07-06 17:28:41 -04:00
mertunsall 220f0bc994 update models to gpt-4.1 2025-07-05 10:32:49 +02:00
Will e3e987e960 Correcting fat-fingering delete. Misread as my method name 2025-07-03 15:45:56 -04:00
Will b85d1b4ef1 Clean up exceptions for consistency 2025-07-03 15:07:47 -04:00
Will e440990c79 Removing unneeded imports 2025-07-03 14:36:21 -04:00
Will 301c445878 Removing test that was inconsistent with other LLM tests 2025-07-03 14:34:03 -04:00
Will 3c41ff61b0 Linting fixes 2025-07-03 14:13:44 -04:00
Will Bonde 999c26396e Merge branch 'main' into openrouter_support 2025-07-03 14:09:28 -04:00
mertunsall 5c370974d8 fixxxx 2025-07-03 19:28:05 +02:00
mertunsall bcc8a7e54e fix more 2025-07-03 19:23:14 +02:00
mertunsall b02ccc3191 fix types bro 2025-07-03 19:21:57 +02:00
mertunsall 64997091a0 fix linter 2025-07-03 19:14:37 +02:00
mertunsall 512060c546 fix openai cost calculation 2025-07-03 19:09:21 +02:00
Will cd071681c1 Correcting copy and paste disaster 2025-07-03 12:52:37 -04:00
Will Bonde 6162bed81e feat: use json schema format in ChatOpenRouter 2025-07-03 12:35:48 -04:00
Will 01aea7912b Reusable initialization of OpenRouter chat to prevent duplication 2025-07-03 12:06:55 -04:00
Will 4c464c2ed7 Readability suggestion from Gemini, which I agree with 2025-07-03 11:59:50 -04:00
Will Bonde 62f7d96bbb Creating a reusable client
Gemini suggestion - creating a reusable client

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-07-03 11:51:21 -04:00
Will 2cf6951228 OpenRouter tests 2025-07-03 11:43:57 -04:00
Will 28156ecba8 Corrections based on test failures 2025-07-03 11:43:40 -04:00
Will 0f7107308d Adding ChatOpenRouter reference needed in __init__.py 2025-07-03 11:43:12 -04:00
Will c83b0dfbcd Initial additions for OpenRouter chat support 2025-07-03 10:59:29 -04: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
mertunsall 39599b6dd0 fix linter 2025-07-02 23:06:47 +02:00
Cursor Agent e1a6f6c31c Remove SchemaOptimizer and use direct model JSON schema generation
Co-authored-by: gregor <gregor@browser-use.com>
2025-07-02 20:51:33 +00:00
mertunsall b37f5294c5 fix 2025-07-02 10:08:11 +02:00
mertunsall fbd3a11737 fix 2025-07-02 10:01:56 +02:00
mertunsall b290e64b86 fix types 2025-07-01 23:24:20 +02:00
mertunsall 6bdb4d5920 Refactor reasoning_effort parameter to be non-optional and default to 'low' 2025-07-01 23:20:50 +02:00
mertunsall 1885dabc48 default reasoning effort to low 2025-07-01 23:18:54 +02:00
Gregor Žunič 50e72debb7 Merge branch 'main' into gregor/eng-242-structured-output-is-fucking-long 2025-06-28 12:23:59 +02:00
Gregor Žunič f21a1e07fa type fix 2025-06-28 10:37:13 +02:00
Gregor Žunič fb981f3f69 fixed type error 2025-06-28 10:24:22 +02:00
Gregor Žunič c385639a77 fix type errors 2025-06-28 10:18:35 +02:00
Gregor Žunič fcd56d4596 pyright ignore for imports (examples) 2025-06-28 10:06:43 +02:00
Gregor Žunič 1c77565b9d added more infromation to the schema 2025-06-28 10:02:24 +02:00
Gregor Žunič 5d9fca7c4b optimized schema for all models 2025-06-28 09:28:54 +02:00
Gregor Žunič bc2c1c8fda openai schema works 2025-06-28 00:19:31 +02:00
Gregor Žunič 8635ccbdec implemented proper functions for reducing token count in json schema 2025-06-27 23:40:59 +02:00
Gregor Žunič 44b15ea748 added service tier option to groq
=
2025-06-27 23:24:14 +02:00
Gregor Žunič d3f478dff2 Merge branch 'main' into feature/model-support 2025-06-27 14:38:01 +02:00
Gregor Žunič ec4a10ae57 bedrock and anthropic example 2025-06-27 14:22:59 +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
Gregor Žunič 8eda3f46ff chat ollama 2025-06-27 12:17:25 +02:00
Gregor Žunič c82e0b3c5f langchain example and docs 2025-06-27 10:30:47 +02:00