mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-13 02:41:50 +08:00
feat: Enhance LiteLLM integration and CLI management
- Added token estimation and batching functionality in LiteLLMEmbedder to handle large text inputs efficiently. - Updated embed method to support max_tokens_per_batch parameter for better API call management. - Introduced new API routes for managing custom CLI endpoints, including GET, POST, PUT, and DELETE methods. - Enhanced CLI history component to support source directory context for native session content. - Improved error handling and logging in various components for better debugging and user feedback. - Added internationalization support for new API endpoint features in the i18n module. - Updated CodexLens CLI commands to allow for concurrent API calls with a max_workers option. - Enhanced embedding manager to track model information and handle embeddings generation more robustly. - Added entry points for CLI commands in the package configuration.
This commit is contained in:
@@ -2739,8 +2739,11 @@ function toggleKeyVisibility(btn) {
|
||||
*/
|
||||
async function checkCcwLitellmStatus() {
|
||||
try {
|
||||
console.log('[API Settings] Checking ccw-litellm status...');
|
||||
var response = await fetch('/api/litellm-api/ccw-litellm/status');
|
||||
console.log('[API Settings] Status response:', response.status);
|
||||
var status = await response.json();
|
||||
console.log('[API Settings] ccw-litellm status:', status);
|
||||
window.ccwLitellmStatus = status;
|
||||
return status;
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user