Commit Graph

37 Commits

Author SHA1 Message Date
Adrian Cole 1ad81e3b69 refactor(providers): extract ProviderDef trait and OpenAiCompatibleProvider (#6832)
Signed-off-by: Adrian Cole <adrian@tetrate.io>
2026-02-02 22:36:54 +00:00
David Katz e2a18c932a Swap canonical model from openrouter to models.dev (#6625) 2026-01-29 13:40:52 -05:00
Rabi Mishra a4c7a746a0 feat(providers): add streaming support for Google Gemini provider (#6191)
Signed-off-by: rabi <ramishra@redhat.com>
2026-01-07 14:17:12 -05:00
Douwe Osinga 1c820addeb OpenRouter & Xai streaming (#5873)
Co-authored-by: Douwe Osinga <douwe@squareup.com>
2025-12-16 13:24:53 -05:00
Douwe Osinga 0f8d9a7878 Handle 404s (#5791)
Co-authored-by: Douwe Osinga <douwe@squareup.com>
2025-11-20 21:58:59 +01:00
Douwe Osinga 9d88155932 Change the other location too (#5608)
Co-authored-by: Douwe Osinga <douwe@squareup.com>
2025-11-06 13:01:41 -05:00
Douwe Osinga 7d4824e853 Keep llm logs in place (#5577)
Co-authored-by: Douwe Osinga <douwe@squareup.com>
2025-11-05 10:06:40 -05:00
Zane 89f7384d57 add clippy warning for string_slice (#5422)
Co-authored-by: Douwe Osinga <douwe@squareup.com>
2025-11-04 17:46:25 -05:00
Alex Hancock cd2ea778f0 feat: log rotation (#5561) 2025-11-04 14:59:44 -05:00
Angie Jones 68187feb5b fix: improve server error messages to include HTTP status code (#5532)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-04 11:59:00 -06:00
Douwe Osinga b295d76454 Send all the logs we output (#5363)
Co-authored-by: Douwe Osinga <douwe@squareup.com>
2025-10-28 09:29:17 -04:00
Douwe Osinga fdbd5281e2 Fix gemini again (#5308)
Co-authored-by: Douwe Osinga <douwe@squareup.com>
2025-10-22 13:42:37 -04:00
Jack Amadeo 9b4c8726f1 improve provider request logging a bit (#5236) 2025-10-18 11:35:42 -04:00
Douwe Osinga 7c1f5dcb2f Compaction overhaul (#5186)
Co-authored-by: Douwe Osinga <douwe@squareup.com>
Co-authored-by: David Katz <dkatz@squareup.com>
Co-authored-by: Alex Hancock <alexhancock@block.xyz>
2025-10-15 18:39:12 -04:00
Douwe Osinga 9251da4314 Declarative providers (#5084)
Co-authored-by: Douwe Osinga <douwe@squareup.com>
Co-authored-by: Michael Neale <michael.neale@gmail.com>
2025-10-15 09:48:14 -04:00
Jack Amadeo 757ceb6109 chore: turn clippy on for test code (#4817) 2025-09-26 00:06:07 -04:00
sings-to-bees-on-wednesdays b5c133cecb feat: Parse and use retryDelay from Google API RateLimitExceeded errors (#4124)
Signed-off-by: sings-to-bees-on-wednesdays <222684290+sings-to-bees-on-wednesdays@users.noreply.github.com>
Co-authored-by: Jack Amadeo <jackamadeo@block.xyz>
Co-authored-by: Jack Amadeo <jackamadeo@squareup.com>
2025-09-25 11:05:18 -04:00
Max Novich 195f389972 update to RMCP 0.6.2 (#4523) 2025-09-05 09:54:10 -04:00
Adrian Cole 9d9fb0609d fix: improve OpenAI-compatible error handling and add test coverage (#4175)
Signed-off-by: Adrian Cole <adrian@tetrate.io>
2025-08-22 11:36:53 -04:00
Douwe Osinga 73e4839c4a Retry all 500 codes (#4160)
Co-authored-by: Douwe Osinga <douwe@squareup.com>
2025-08-18 21:29:23 -04:00
Douwe Osinga 4ac530a2ea Better provider logging (#4052)
Co-authored-by: Douwe Osinga <douwe@squareup.com>
Co-authored-by: Claude <noreply@anthropic.com>
2025-08-12 18:05:09 -04:00
Jack Amadeo dd504741a3 Remove cognitive complexity clippy lint (#4010) 2025-08-11 20:24:37 -04:00
Douwe Osinga 918faddf03 Generic retry and error parsing (#3558)
Co-authored-by: Douwe Osinga <douwe@squareup.com>
Co-authored-by: Michael Neale <michael.neale@gmail.com>
2025-08-05 10:37:04 +02:00
Julian Brown bc25308d7b fix: escape control characters in LLM tool call arguments JSON (#2893)
Signed-off-by: Julian Brown <contact@julianbrown.dev>
Co-authored-by: Julian Brown <jbrown@stripe.com>
2025-07-29 11:05:01 +02:00
Jack Amadeo d5291461ca Replace mcp_core::content types with rmcp::model types (#3500) 2025-07-18 17:23:25 -04:00
Jack Amadeo 6555a530b2 feat: Implement streaming for OpenAI (#3413) 2025-07-15 15:16:21 -04:00
Jack Amadeo fde3a578a5 feat: stream LLM responses (#2677)
Co-authored-by: Michael Neale <michael.neale@gmail.com>
2025-07-14 14:57:03 -04:00
Max Novich 8fade6b320 Add GIF unsupported format test (#2618) 2025-05-21 10:31:18 -07:00
Yingjie He 0148ced33e fix: expose not support tool call error (#2231) 2025-04-16 16:03:22 -07:00
Alice Hau 746c915f68 [fix] fix model config logging to remove api key (#1619) 2025-03-11 13:59:06 -04:00
Aarni Koskela 45b3812bc9 fix: handle OpenAI API errors better (#1291) 2025-02-23 13:31:50 -08:00
Yingjie He 67883ca3c7 fix:expose unsupported tool use error (#1293) 2025-02-19 09:37:38 -08:00
Yingjie He d8ca7a3e1b fix:extra error handling for gemini (#1268) 2025-02-18 12:57:29 -08:00
Michael Neale e461e6845d feat: handle images mentioned in messages (#1202) 2025-02-12 14:36:46 -08:00
Alice Hau 1af67846f0 chore: Change no usage found warning to a debug trace (#1192) 2025-02-11 13:23:32 -05:00
Yingjie He a420e20ca4 fix: improve configure process with error message (#919) 2025-01-29 20:45:25 -08:00
Bradley Axen 1c9a7c0b05 feat: V1.0 (#734)
Co-authored-by: Michael Neale <michael.neale@gmail.com>
Co-authored-by: Wendy Tang <wendytang@squareup.com>
Co-authored-by: Jarrod Sibbison <72240382+jsibbison-square@users.noreply.github.com>
Co-authored-by: Alex Hancock <alex.hancock@example.com>
Co-authored-by: Alex Hancock <alexhancock@block.xyz>
Co-authored-by: Lifei Zhou <lifei@squareup.com>
Co-authored-by: Wes <141185334+wesrblock@users.noreply.github.com>
Co-authored-by: Max Novich <maksymstepanenko1990@gmail.com>
Co-authored-by: Zaki Ali <zaki@squareup.com>
Co-authored-by: Salman Mohammed <smohammed@squareup.com>
Co-authored-by: Kalvin C <kalvinnchau@users.noreply.github.com>
Co-authored-by: Alec Thomas <alec@swapoff.org>
Co-authored-by: lily-de <119957291+lily-de@users.noreply.github.com>
Co-authored-by: kalvinnchau <kalvin@block.xyz>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Rizel Scarlett <rizel@squareup.com>
Co-authored-by: bwrage <bwrage@squareup.com>
Co-authored-by: Kalvin Chau <kalvin@squareup.com>
Co-authored-by: Alice Hau <110418948+ahau-square@users.noreply.github.com>
Co-authored-by: Alistair Gray <ajgray@stripe.com>
Co-authored-by: Nahiyan Khan <nahiyan.khan@gmail.com>
Co-authored-by: Alex Hancock <alexhancock@squareup.com>
Co-authored-by: Nahiyan Khan <nahiyan@squareup.com>
Co-authored-by: marcelle <1852848+laanak08@users.noreply.github.com>
Co-authored-by: Yingjie He <yingjiehe@block.xyz>
Co-authored-by: Yingjie He <yingjiehe@squareup.com>
Co-authored-by: Lily Delalande <ldelalande@block.xyz>
Co-authored-by: Adewale Abati <acekyd01@gmail.com>
Co-authored-by: Ebony Louis <ebony774@gmail.com>
Co-authored-by: Angie Jones <jones.angie@gmail.com>
Co-authored-by: Ebony Louis <55366651+EbonyLouis@users.noreply.github.com>
2025-01-24 13:04:43 -08:00