Spaces:
Runtime error
Runtime error
Commit History
-
feat(api): expose HF token status on user endpoint
Andrewabdf303
-
HuggingChat 2026 (#1875)
Unverified signature* refactor: remove tokenizer-related functionality and dependencies - Removed tokenizer dependencies from package.json. - Deleted TokensCounter component and its usages across the application. - Updated model configurations to exclude tokenizer properties. - Refactored model processing logic to support only OpenAI-compatible endpoints. - Adjusted API responses to omit tokenizer information. - Cleaned up related utility functions and imports. * Remove web search functionality and related components - Deleted endpoints for various web search APIs (serpApi, serpStack, serper, webLocal, youApi). - Removed generateQuery function and its usage in search. - Eliminated web search related types and interfaces from the codebase. - Updated Assistant and Conversation types to remove references to web search and embedding models. - Cleaned up related utility functions and message updates for web search. - Adjusted API routes and components to reflect the removal of web search features. - Updated…7bf1507
-
feat: admin CLI login (#1789)
Unverified signature* feat: implement admin token management and CLI login functionality - Added `ADMIN_CLI_LOGIN` and `ADMIN_TOKEN` to the environment configuration. - Introduced `AdminTokenManager` for handling admin sessions and token validation. - Updated user session handling to include admin status. - Enhanced API routes to utilize admin checks based on the new token management. - Modified frontend components to reflect admin status correctly. - Added a new endpoint for validating admin tokens. * fix: remove token after validationafbe0de
-
add api assistants endpoints (#951)
Kevin CATHALY +2: Kevin CATHALY, nsarrazin Unverified signature* add api assistants endpoints * lint --------- Co-authored-by: Kevin CATHALY <alakme@kevins-macbook-pro.home> Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>49c7cc5
-
add an api endpoint to get current user's informations (#763)
Kevin CATHALYUnverified signaturec2664d9