Commit Graph

414 Commits

Author SHA1 Message Date
Enrico Ros 4f63e98e7f OpenRouter: support for Anthropic thinking variants via the OpenAI protocol. #811 2025-06-06 11:11:13 -07:00
Sam Jones b7bdae00f8 tidy up 2025-06-05 17:35:39 +01:00
Sam Jones b699a665a1 Use reasoning instead of thinking for openrouter 2025-06-05 17:29:43 +01:00
Sam Jones b28a282aba Remove extraprops 2025-06-05 16:50:41 +01:00
Sam Jones a30d2ca025 fix indent again 2025-06-05 16:48:21 +01:00
Sam Jones f7f3929342 fix indent 2025-06-05 16:47:59 +01:00
Sam Jones 35abb6e69d remove comment 2025-06-05 16:47:23 +01:00
Sam Jones b759be62ea Add Claude 4 via openrouter thinking support 2025-06-05 16:32:15 +01:00
Enrico Ros e57fbb88bf DBlobs: add a portability layer 2025-06-04 12:21:42 -07:00
Enrico Ros 43d7e19dfb imageUtils: operate only on Blob, free of base64 converters 2025-06-03 16:04:09 -07:00
Enrico Ros 7d32de50a6 DBlobs: partially remove ContextId 2025-06-03 15:12:56 -07:00
Enrico Ros 57d91e330e Images: push Blob usage deeper 2025-06-03 15:08:55 -07:00
Enrico Ros a81da26452 Images: convert Attachments/Reassembler to use Blobs more than base64/base64dataUrls 2025-06-03 13:13:44 -07:00
Enrico Ros edbe2e55bc Accommodate Chutes.ai / sglang parsing 2025-06-02 09:32:59 -07:00
Enrico Ros c9ebb44442 Wire all up to BlobUtils 2025-05-30 11:25:30 -07:00
Enrico Ros 64fd32de9a Revert "AudioRef: placeholder CGR"
This reverts commit 61b2bedf5e.
2025-05-28 17:29:56 -07:00
Enrico Ros 61b2bedf5e AudioRef: placeholder CGR 2025-05-27 17:49:12 -07:00
Enrico Ros d6e41c1026 AIX: Gemini: parse TTS outputs 2025-05-27 17:20:03 -07:00
Enrico Ros bc1d0ef6e9 AIX: Audio: particle reassembly to speech (no Blob save for now) 2025-05-27 17:19:09 -07:00
Enrico Ros 352d1425ca AIX: Audio: model.part for chatGenerateContent, and 2 impls 2025-05-27 17:09:14 -07:00
Enrico Ros f92941f4a2 AIX: Audio: particle & transmit 2025-05-27 17:07:35 -07:00
Enrico Ros 4b6f6728fa AIX: Gemini: improve TTS support 2025-05-27 15:56:17 -07:00
Enrico Ros 72ae27e419 AIX: Gemini: configure voice 2025-05-27 15:14:38 -07:00
Enrico Ros 294b1c1ea3 AIX: Gemini: output modality 2025-05-27 14:50:53 -07:00
Enrico Ros 75e19914cc AIX: basic output modality pattern 2025-05-27 14:50:10 -07:00
Enrico Ros 66c1af8333 AIX: Gemini: add maxTemperature 2025-05-27 14:23:30 -07:00
Enrico Ros ccfc129e44 Partially revert 2894c070 - fixed by the tRPC upgrade 2025-05-26 16:39:37 -07:00
Enrico Ros 2894c07049 Next Edge/tRPC: server-side delay (improved workaround) for the 'Stream closed' issue only. #805 2025-05-26 14:11:02 -07:00
Enrico Ros 48c4ac18ab AIX: emergency fix for a sudden Vercel/tRPC streaming issue
Suddenly all Vercel builds experienced exceptions and connection terminations.

On 2025-05-22 around 8PM CET, Vercel servers started to log errors on tRPC calls.

This fix waits 1 extra event loop tick. Shall work around the issue until a proper fix is found.
2025-05-22 13:22:38 -07:00
Enrico Ros 80b22e6c2d Continue CGRs ignoring missing image dereferences. #733
This is an emergency workaround where formal correctness yields to an
unbroken chat experience.
2025-04-28 11:43:27 -07:00
Enrico Ros 0c19d011cb OpenAI gpt-image-1: edit wiretypes 2025-04-25 15:38:38 -07:00
Enrico Ros f522f5bbc6 AIX: export image dereferencing & inlining 2025-04-25 15:38:38 -07:00
Enrico Ros fdc5845d90 OpenAI gpt-image-1: wiretypes/parser 2025-04-24 23:13:41 -07:00
Enrico Ros cb0cc8b370 AIX: FastAPI: relax parser for missing .object and .created 2025-04-24 12:55:31 -07:00
Enrico Ros 3f610bf122 AIX: Gemini: full thinking support
Enables the v1alpha API (seems to be more reliable)
2025-04-17 17:25:26 -07:00
Enrico Ros 07c96661e7 AIX: Gemini: support thinking budget 2025-04-17 17:24:02 -07:00
Enrico Ros 048940d383 AIX: Gemini: measure reasoning tokens 2025-04-17 17:24:02 -07:00
Enrico Ros 69e7dc7481 AIX: o3: enable the non-streaming option 2025-04-16 15:36:42 -07:00
Enrico Ros 7f0b4f79ff AIX: o4 support 2025-04-16 13:13:22 -07:00
Enrico Ros 0962b79149 LLMs: Gemini: update models
Includes AIX: Gemini: predictLongRunning
2025-04-10 19:56:44 -07:00
Enrico Ros 1c9cefb61b AIX: OpenAI-compatible: fix missing reasoning tokens 2025-04-10 08:33:09 -07:00
Enrico Ros a5e4ab8f9e AIX Debugger: explain 2025-04-06 14:57:12 -07:00
Enrico Ros 75921d08d1 OpenRouter: show reasoning 2025-03-26 09:25:25 -07:00
Enrico Ros 69118df912 Remove eventsource-parser.
The code is still laying around in AIX for a second.
2025-03-17 06:09:24 -07:00
Enrico Ros ff65382e06 AIX: 146x faster SSE Demuxer - hand-rolled optimized
The 14,600% speedup compared to eventsource-parser comes from Gemini Image Generation use cases.
2025-03-17 06:07:25 -07:00
Enrico Ros 420b8c49c6 AIX: profiler: force fallback which is class scoped
The 'performance' API is global and conflicting between calls.
2025-03-17 06:07:24 -07:00
Enrico Ros 0f9c02e249 AIX: demuxers: extract eventsource-parser 2025-03-17 02:35:43 -07:00
Enrico Ros 4890a90641 AIX: cleanup/centralize security on Production builds 2025-03-17 00:16:55 -07:00
Enrico Ros 653f0991e0 AIX: really disable Profiling on production builds 2025-03-16 23:51:30 -07:00
Enrico Ros a40efb4780 AIX: Debugger: add Profiler 2025-03-16 23:49:28 -07:00