Conversation
Add support for embedding web frontend assets directly into the server to improve management panel distribution and accessibility. - Integrate an embedded file system to serve the management control panel and static assets. - Add an OAuth provider listing endpoint to the management API to improve frontend integration. - Update the management server to handle routing for embedded assets and provide fallback mechanisms. - Improve authentication success page styling for a better user experience. - Update .gitignore to exclude build artifacts and private directories.
Updates CI workflows to use the Go version defined in go.mod and removes redundant setup steps. Refines web linting configuration by simplifying the ESLint setup and restricting linting scope to the source directory. Removes unused imports and cleans up code structure in web components to improve maintainability. Additionally, updates .gitignore to track the gitkeep file in web assets.
Handle tool calls returned either as native structured deltas or embedded as XML in response content. Inject a system prompt to guide models toward the expected XML format, and set the proper finish_reason for both streaming and non-streaming responses.
Detect XML tool call markers during streaming to avoid emitting partial content chunks before fallback parsing completes. Clear content fields when native tool calls or reasoning content are present, and extract text content from structured message payloads.
Enhances the handling of CodeArts SSE streams by adding robust error reporting, dynamic model name resolution, and improved tool call parsing. Refactors stream processing to unify non-stream and stream logic, ensuring consistent token counting and finish reason reporting. Adds support for alternative data line formats and ensures proper cleanup of tool call artifacts from generated content.
…enAI-compatible API - Add JoyCode auth module with token verification and web OAuth flow - Add JoyCode executor supporting stream/non-stream chat completions - Add --joycode-login CLI flag and /v0/oauth/joycode/* web routes - Register JoyCode translator, models, and provider metadata - Fix oauth-model-alias: add missing providers (gitlab, cursor, qoder, codebuddy, codebuddy-ai, kilo, bt)
JoyCode login page redirects to http://127.0.0.1:{port}/?authKey=...&pt_key=... not /joycode/callback. Register root path handler in CLI mode and intercept root-path requests with JoyCode auth params in web server mode.
- Fetch models from /api/saas/models/v1/modelList with chatApiModel/label and hidden filter, matching JoyCode2api.py behavior - Set loginType header to empty string (matching Python) - Add x-ms-client-request-id header (matching Python) - Remove hardcoded static model list, use API with static fallback
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.