- Updated TokenAuth middleware to handle requests for both `/v1beta/models/` and `/v1/models/`. - Adjusted distributor middleware to recognize the new model path. - Enhanced relay mode determination to include the new model path. - Added route for handling POST requests to `/models/*path`. These changes ensure compatibility with the new model API structure, improving the overall routing and authentication flow.
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| channel | Loading commit data... | |
| common | Loading commit data... | |
| common_handler | Loading commit data... | |
| constant | Loading commit data... | |
| helper | Loading commit data... | |
| audio_handler.go | Loading commit data... | |
| claude_handler.go | Loading commit data... | |
| embedding_handler.go | Loading commit data... | |
| gemini_handler.go | Loading commit data... | |
| image_handler.go | Loading commit data... | |
| relay-mj.go | Loading commit data... | |
| relay-text.go | Loading commit data... | |
| relay_adaptor.go | Loading commit data... | |
| relay_task.go | Loading commit data... | |
| rerank_handler.go | Loading commit data... | |
| responses_handler.go | Loading commit data... | |
| websocket.go | Loading commit data... |