Commit Graph
16 Commits
Author SHA1 Message Date
dat-nguyen96 e371af9cd2 Add content conversion helper methods for Azure request handling
- Introduced `_content_to_text` method in `request_adapter.py` to convert various content types into a string format suitable for Azure.
- Updated existing logic to utilize this new method for processing message content.
- Added `_content_to_string` method in `logging.py` for similar content conversion, enhancing display capabilities for message content.
2026-03-12 13:18:15 +01:00
Gabriel Gavilan 8a82e6e094 Change default truncation to prevent issues with gpt-5.1-codex.* 2025-11-22 11:29:58 +01:00
Gabriel Gavilan c32056709f Partially revert 7b6c640f91 2025-11-21 13:54:06 +01:00
Denis Pajaziti 2cd5f7069c Enhance tool transformation logic in RequestAdapter to handle non-list inputs and invalid tool structures. Added logging for skipped transformations to improve debugging. 2025-11-12 12:48:20 +01:00
gabrii 555c8fe619 Improve logic of request adapting args 2025-09-25 18:30:35 +02:00
gabrii fe505d8846 Improve error handling and reporting for auth / invalid model / invalid summary level 2025-09-25 12:17:37 +02:00
gabrii 424c29d55d Close #45: Add verbosity setting 2025-09-23 17:43:33 +02:00
gabrii 933567edc0 Remove call id normalization 2025-09-18 07:59:25 +02:00
gabrii 35ff9c9d07 Prune seamingly unused code 2025-09-17 18:28:01 +02:00
gabrii 0f43b84fbc Remove early response functionality 2025-09-17 16:29:04 +02:00
Gabriel GavilanandGitHub b24b47f2b6 Merge pull request #32 from hjertefolger/fix/azure-call-id-and-fstring
fix(azure): normalize tool call IDs and f-string with backslashes
2025-09-15 12:12:40 +02:00
hjertefolger 1a87d48ea8 style: format with isort/black via flask lint 2025-09-15 11:16:12 +02:00
hjertefolger 19458085a0 fix(azure): normalize tool call IDs to <=64 chars and fix f-string backslash issue\n\n- Map tool_call_id to stable 64-char hashes to satisfy Azure Responses API limits\n- Reformat error message string to avoid f-string backslash parsing 2025-09-15 11:15:14 +02:00
gabrii af9a30f9bc Allow disabling reasoning summaries 2025-09-15 10:49:29 +02:00
gabrii dab0265142 Support "minimal" reasoning effort 2025-09-15 10:24:51 +02:00
gabrii 8a87d0033b Squash everything befor release.
Some past commits might have contained Cursor's IP or accidentally
commited API keys. Before making the repository public, all the history
has been squashed into a single commit with.
2025-09-14 17:38:55 +02:00