Repository navigation
Tags: rabesss/CLIProxyAPI
Tags
refactor(auth): simplify home auth session management and remove ref … …counting - Consolidated `homeRuntimeAuths` to store a map of session-scoped auth maps, replacing `homeRuntimeAuthSessions` and `homeRuntimeAuthRefs`. - Adjusted session cleanup logic to directly remove session-scoped auths without reference counting. - Added `GetExecutionSessionAuthByID` to retrieve auths scoped to a specific execution session. - Updated tests to reflect the new session-scoped caching behavior.
Merge pull request router-for-me#3237 from seakee/docs/add-cpa-manage… …r-usage-statistics docs: add CPA-Manager to usage statistics recommendations
refactor(management): rename `GetUsage` to `GetUsageQueue` and update… … routes/tests - Renamed handler and test methods for better clarity on functionality. - Updated route from `/v0/management/usage` to `/v0/management/usage-queue`. - Adjusted integration and unit tests to reflect new naming and routes.
feat(usage): add support for requested model alias handling - Introduced methods for setting and retrieving model aliases in execution and usage contexts. - Enhanced `UsageReporter` and related structures to include client-requested aliases. - Updated tests to validate alias propagation and ensure correct usage reporting. - Adjusted metadata handling in CLIProxyAPI executors to address alias integration.
Merge pull request router-for-me#2896 from edlsh/fix/oauth-tool-renam… …e-per-request-map fix(amp): smart-mode tool name fixes + deep-mode response repair
fix(executor): enhance parsing of OpenAI stream data lines - Added trimming for stream input lines to prevent processing of unnecessary whitespace. - Improved handling of unsupported prefixes and malformed JSON responses, ensuring errors are recorded and propagated appropriately. Fixed: router-for-me#2690
fix(translator): improve tool response handling for non-string content - Added `setToolCallOutputContent` to process various content types, including arrays and fallback cases. - Implemented robust handling for specific tool output types like text, image URLs, and files, ensuring proper serialization. - Improved fallback logic to handle unexpected or missing data. Fixed: router-for-me#2313 Closes: router-for-me#2349
chore(docker): upgrade base image to alpine 3.23 Fixed: router-for-me#2265
PreviousNext