forked from rejnronuz/muzovkant-cogdump
openrouter client
This commit is contained in:
29
cogs/openrouter/config.json
Normal file
29
cogs/openrouter/config.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"description": "OpenRouter AI client",
|
||||
"usages": [
|
||||
"ai <message>",
|
||||
"ai_reset",
|
||||
"ai_history",
|
||||
"ai_stats",
|
||||
"ai_info",
|
||||
"ai_setmodel <model> (admin)",
|
||||
"ai_setprompt <prompt> (admin)",
|
||||
"ai_setchannel [#channel] (admin)",
|
||||
"ai_removechannel <#channel> (admin)",
|
||||
"ai_clearlimit <@user> (admin)",
|
||||
"ai_globalstats (admin)"
|
||||
],
|
||||
"hidden": false,
|
||||
|
||||
"OPENROUTER_API_KEY": "YOUR_KEY_HERE",
|
||||
"MODEL": "openai/gpt-4o-mini",
|
||||
"SYSTEM_PROMPT": "You are a helpful assistant in a Discord server. Be concise and friendly.",
|
||||
|
||||
"MAX_REQUESTS_PER_DAY": 50,
|
||||
"MAX_TOKENS_PER_USER_PER_DAY": 10000,
|
||||
"MAX_RESPONSE_TOKENS": 1000,
|
||||
"MAX_HISTORY_LENGTH": 10,
|
||||
"COOLDOWN_SECONDS": 10,
|
||||
|
||||
"ALLOWED_CHANNEL_IDS": []
|
||||
}
|
||||
Reference in New Issue
Block a user