1. 28 Dec, 2024 11 commits
  2. 27 Dec, 2024 6 commits
  3. 26 Dec, 2024 5 commits
  4. 25 Dec, 2024 11 commits
  5. 24 Dec, 2024 7 commits
    • fix: #657 · 6f9f7a0b
      CalciumIon committed
    • fix: get upstream models · 975b4a46
      CalciumIon committed
    • fix: gemini func call · 411d3a62
      Yan committed
    • feat: Enhance pricing functionality with user group support · d429483f
      - Updated the GetPricing function in the backend to include user group information, allowing for dynamic adjustment of group ratios based on the user's group.
      - Implemented logic to filter group ratios based on the user's usable groups, improving the accuracy of pricing data returned.
      - Modified the ModelPricing component to utilize the new usable group data, ensuring only relevant groups are displayed in the UI.
      - Enhanced state management in the frontend to accommodate the new usable group information, improving user experience and data consistency.
      CalciumIon committed
    • feat: Update localization and enhance token editing functionality · 4bc8052a
      - Added new translation keys for English localization in `en.json`, including "Token group, default is the your's group" and "IP whitelist (do not overly trust this function)".
      - Refactored `EditToken.js` to utilize the `useTranslation` hook for improved internationalization, ensuring all user-facing strings are translatable.
      - Updated error and success messages to use translation functions, enhancing user experience for non-English speakers.
      - Improved UI elements to support localization, including labels, placeholders, and button texts, ensuring consistency across the token editing interface.
      CalciumIon committed
    • feat: Add FetchModels endpoint and refactor FetchUpstreamModels · b46efdc8
      - Introduced a new `FetchModels` endpoint to retrieve model IDs from a specified base URL and API key, enhancing flexibility for different channel types.
      - Refactored `FetchUpstreamModels` to simplify base URL handling and improve error messages during response parsing.
      - Updated API routes to include the new endpoint and adjusted the frontend to utilize the new fetch mechanism for model lists.
      - Removed outdated checks for channel type in the frontend, streamlining the model fetching process.
      CalciumIon committed