danny-avila / LibreChat

Enhanced ChatGPT Clone: Features Anthropic, AWS, OpenAI, Assistants API, Azure, Groq, o1, GPT-4o, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, langchain, DALL-E-3, ChatGPT Plugins, OpenAI Functions, Secure Multi-User System, Presets, completely open-source for self-hosting. Actively in public development.

Home Page:https://librechat.ai/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enhancement:

KATADA-Kazuyuki opened this issue · comments

What features would you like to see added?

Currently, the add-balance.js script is implemented to add tokens. I would like it to support both add and set operations.
The set operation should overwrite the current token balance regardless of the existing amount.

SAMPLE: npm run add-balance [add/set]

More details

set 2000 token : npm run add-balance dummy@dummy.com 2000 set
add 2000 token : npm run add-balance dummy@dummy.com 2000

Which components are impacted by your request?

Other

Pictures

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct