Commit Graph

4189 Commits

Author SHA1 Message Date
mertunsall a0996ba39e max wait between execution 2025-12-14 13:35:27 -08:00
Mert Unsal a8eb91d852 Merge branch 'main' into main 2025-12-14 13:11:55 -08:00
hacking-racoon 38703d5ad7 perf: lazy import for openai and reportlab to reduce startup latency
- agent/views.py: Move RateLimitError import inside format_error() function
  to avoid loading openai SDK (~800ms) at module level
- llm/messages.py: Replace openai.BaseModel with pydantic.BaseModel directly
  to remove unnecessary openai dependency
- filesystem/file_system.py: Move reportlab imports inside sync_to_disk_sync()
  to avoid ~40ms startup cost when PDF generation is not used
- utils.py: Convert OpenAIBadRequestError and GroqBadRequestError to lazy
  loaders to avoid loading SDKs at module level

This improves import time for users who don't use OpenAI provider,
especially when using Anthropic, Google, or other providers.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-14 01:48:47 +09:00
bbarwik cba65772f8 Fix XAI vision check to only disable for grok-3 and grok-code models
Previously all grok models had vision disabled. Only grok-3 variants
(grok-3, grok-3-mini, grok-3-fast) and grok-code models don't support
vision. grok-2 and grok-4 models now correctly retain vision support.
2025-12-13 12:40:21 +01:00
mertunsall 9b894150d5 fix structured output for sandboxes 2025-12-12 15:35:34 -08:00
mertunsall 20247d5c56 make coordinates optionally available 2025-12-12 14:26:13 -08:00
Mert Unsal 201b990591 Merge branch 'main' into cursor/filter-sensitive-data-in-history-5b05 2025-12-10 16:14:01 -08:00
Cursor Agent 8ba95aefa8 Fix: Filter sensitive data from state messages
This change ensures that sensitive data in action results is filtered before being included in state messages sent to the LLM. This prevents accidental leakage of private information. New tests are added to verify this functionality.

Co-authored-by: mailmertunsal <mailmertunsal@gmail.com>
2025-12-11 00:00:37 +00:00
Cursor Agent 24e276d5f4 Refactor markdown preprocessing and add tests
Co-authored-by: mailmertunsal <mailmertunsal@gmail.com>
2025-12-11 00:00:21 +00:00
mertunsall 110b96dc8d update system prompts 2025-12-10 18:50:10 +00:00
Gregor Žunič 1b75166122 Merge branch 'main' into feature/skills-integration 2025-12-09 16:48:11 -08:00
Gregor Žunič 54f6942f36 fixed readme 2025-12-09 16:44:38 -08:00
Gregor Žunič 6c49e622a6 skills_ids = skills, added docs 2025-12-09 16:37:05 -08:00
mertunsall 063d03e796 quick fix 2025-12-09 16:13:31 -08:00
Gregor Žunič c4fde51d51 query only enabled skills 2025-12-09 15:39:14 -08:00
Mert Unsal 7dc0462057 Merge branch 'main' into mert/fix_structured_when_tools 2025-12-09 15:27:45 -08:00
mertunsall 1489d55210 fix structured output when tools is passeD 2025-12-09 23:27:15 +00:00
Saurav Panda 49882fb086 added gemini-3-pro-preview to verified models 2025-12-09 13:38:34 -08:00
Gregor Žunič e8ebc8eebf fixed skill calling 2025-12-08 19:32:46 -08:00
Gregor Žunič b768174094 skill slugs 2025-12-08 18:42:01 -08:00
Gregor Žunič 91cdc8b3b3 added proper output types 2025-12-08 18:18:58 -08:00
Gregor Žunič b1e4d6e686 primitive skills impl (with cookies) 2025-12-08 18:07:00 -08:00
mertunsall 2e3aed3045 faster scroll 2025-12-07 23:17:24 -08:00
EnzoFanAccount 7bae4e09c0 support multi-tab recording 2025-12-06 23:06:19 -03:00
Gregor Žunič 71d529d14d simple browser use integration 2025-12-05 16:46:36 -08:00
Gregor Žunič 4707bef5e3 added skills with pydantic validation 2025-12-05 15:46:33 -08:00
Saurav Panda a4e77e2070 Merge branch 'main' into add-ai-step-for-extraction 2025-12-03 09:14:26 -08:00
Saurav Panda 885a3dbb38 Merge branch 'main' into add-model-fallback 2025-12-03 05:59:03 -08:00
Saurav Panda d0e181216e feat: added fallback llm support 2025-12-03 18:53:29 +05:30
Alex Mascolo ef03559d51 Bugfix to #3702 2025-12-02 17:00:46 -08:00
Abhinav Malkoochi 7d901f1e52 issue 3694 fixed: dropdown option fails with combobox elements with dynamic options 2025-12-01 21:00:11 -06:00
Saurav Panda 7d2c6dc79e AI: add ai_step to replace extract_content on rerun 2025-12-01 21:34:09 +05:30
mertunsall aa0d1fb00f get rid of force 2025-11-30 11:46:48 -08:00
Mert Unsal 38b3bb2edd Merge branch 'main' into feature/mistral-support 2025-11-29 14:30:08 -08:00
Mert Unsal a299f83e57 Merge branch 'main' into mert/trytofixmain 2025-11-29 13:40:44 -08:00
Mert Unsal 2da9da6e83 Add provider options to ChatVercel for enhanced model routing (#3685)
<!-- This is an auto-generated description by cubic. -->
## Summary by cubic
Added provider options to ChatVercel to control Vercel AI Gateway
routing and fallback order. Also improved handling for Anthropic models
and updated docs and examples.

- **New Features**
- Added provider_options to ChatVercel; passed as
extra_body.providerOptions.
  - Supports gateway routing order (e.g., ['vertex', 'anthropic']).
  - Anthropic models now follow the optimized structured-output path.
  - Updated docs and example to show basic and provider-order usage.

<sup>Written for commit 5c581c642e.
Summary will update automatically on new commits.</sup>

<!-- End of auto-generated description by cubic. -->
2025-11-29 13:17:54 -08:00
mertunsall 0db058e41b Merge branch 'main' into mert/trytofixmain 2025-11-29 13:16:49 -08:00
mertunsall 3fe94db8f2 try to fix stuff 2025-11-29 13:16:14 -08:00
Mert Unsal a742645416 Revert "Improve demo mode" 2025-11-29 13:09:20 -08:00
AntonVishal 5c581c642e Add provider options to ChatVercel for enhanced model routing 2025-11-29 12:27:32 +05:30
Mert Unsal 02cf38e864 Revert "allowing MUCH MORE with coordinates" 2025-11-28 04:00:22 -08:00
MagellaX d58ae80b50 Handle Mistral timeout defaults and fix pixtral mapping 2025-11-28 13:41:36 +05:30
MagellaX 71a1f12037 Format LLM exports after ruff suggestions 2025-11-28 13:32:20 +05:30
MagellaX 93a2bddb9c Fix provider branch ordering in llm models 2025-11-28 13:27:23 +05:30
TR-3B a90c3a0455 Merge branch 'main' into feature/mistral-support 2025-11-28 13:23:43 +05:30
MagellaX 09a83c97a4 Fix Mistral pyright warnings and schema test 2025-11-28 13:21:19 +05:30
TR-3B 0b82aa7348 Merge branch 'main' into feature/mistral-support 2025-11-28 13:00:24 +05:30
MagellaX 5de9b99567 Add Mistral provider with schema optimizer and presets 2025-11-28 12:56:41 +05:30
mertunsall 79df8fc818 hotfix 2025-11-27 15:03:48 -08:00
mertunsall 46cb1a0ae1 allowing MUCH MORE with coordinates 2025-11-27 14:48:23 -08:00