Commit Graph

39 Commits

Author SHA1 Message Date
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
Pyry Takala 5a3d340ec4 fix: add type ignores for pyright in cache tests
Content blocks are dictionaries at runtime despite type annotations
indicating Pydantic models. Added type: ignore comments to allow
dictionary-style .get() access which works correctly at runtime.
2025-11-21 01:12:56 +00:00
Pyry Takala 3787380829 fix: apply cache_control only to last block in Anthropic messages
Previously, cache_control was applied to every content block and tool call
in a message, which could exceed Anthropic's limit of 4 cache breakpoints
per request. This fix ensures cache_control is only applied to the last
block in each message type:
- Last text block in UserMessage/AssistantMessage content
- Last tool_use block when AssistantMessage has tool calls
- Only the last overall block when AssistantMessage has both content and tools

This prevents exceeding the cache breakpoint limit while maintaining
correct caching behavior.
2025-11-21 01:04:12 +00:00
Magnus Müller b678f27a3e Migration from highlight index to backendnode id 2025-10-21 21:02:28 -07:00
Talapally Sandeep Kumar c09540a5bc Merge branch 'main' into oracle_oci_integration 2025-10-04 12:10:37 +05:30
Magnus Müller a8e6af254e Switch all to jpeg 2025-10-03 21:32:47 -07:00
Sandeep 3cc8f06e65 fixed code style 2025-09-16 12:44:58 +05:30
Sandeep 2cf9a7dbd5 Solved all the comments raised 2025-09-16 12:24:22 +05:30
Sandeep bbb23f58cc fixed ruff linter issues 2025-09-16 03:03:24 +05:30
Sandeep e562970ab0 removed sensitive values 2025-09-16 02:01:36 +05:30
Sandeep e2b1c3b668 Integrated Oracle ChatOciRaw 2025-09-16 01:38:04 +05:30
Sandeep af3dd97e4a added test single step calls 2025-09-15 11:07:47 +05:30
Sandeep b6b5b9176f single step tests added 2025-09-15 03:24:08 +05:30
Sandeep 52bfee798e added sample test case for chatmodels 2025-09-15 03:13:13 +05:30
Magnus Müller dc1eb696b3 remove lmnr from examples 2025-09-03 18:11:45 -07:00
Nick Sweeting 8d86832095 fix SwitchTab by using TargetID for all tab_ids 2025-08-15 16:45:27 -07:00
Nick Sweeting 3bb8fb0fee improve focus tracking 2025-08-08 07:15:04 -07:00
Aitor 1e2a083415 Merge branch 'main' into local-remote-split 2025-08-05 18:28:06 +01:00
mertunsall 10581b6e77 just improve more 2025-08-05 15:10:23 +01:00
mertunsall bc9a3a5fbb just improve 2025-08-05 15:07:50 +01:00
mertunsall eb833d34d9 now history is cached 2025-07-23 19:08:50 +02:00
Magnus Müller 061e24b976 Merge remote-tracking branch 'origin/main' into extraction-magnus-revert-with-main 2025-07-14 18:35:21 +02:00
Gregor Žunič 7bf17064f6 started migration to pure cdp 2025-07-11 14:19:22 +02:00
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
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 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 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 2cf6951228 OpenRouter tests 2025-07-03 11:43:57 -04:00
Gregor Žunič 2ee526d903 updated pricing for cached tokens support 2025-06-25 15:33:47 +02:00
Gregor Žunič bf9ea1e33a fallback parser for groq 2025-06-25 10:53:27 +02:00
Gregor Žunič 7a3f8ad4de removed unnecesary llms 2025-06-24 14:08:40 +02:00
Gregor Žunič 7a10ae0c96 Squashed commit langchain to native 2025-06-24 12:26:55 +02:00