mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-07-24 05:16:09 +00:00
perf: !usage指令的显示
This commit is contained in:
@@ -146,7 +146,7 @@ def process_message(launcher_type: str, launcher_id: int, text_message: str, mes
|
|||||||
|
|
||||||
reply = [reply_str]
|
reply = [reply_str]
|
||||||
elif cmd == 'usage':
|
elif cmd == 'usage':
|
||||||
reply_str = "[bot]各api-key使用情况:"
|
reply_str = "[bot]各api-key使用情况:\n\n"
|
||||||
|
|
||||||
api_keys = pkg.utils.context.get_openai_manager().key_mgr.api_key
|
api_keys = pkg.utils.context.get_openai_manager().key_mgr.api_key
|
||||||
for key_name in api_keys:
|
for key_name in api_keys:
|
||||||
|
|||||||
Reference in New Issue
Block a user