forked from Shinonome/dots-hyprland
gpts: providers: add openrouter (#263)
This commit is contained in:
@@ -17,7 +17,7 @@ const PROVIDERS = { // There's this list hmm https://github.com/zukixa/cool-ai-s
|
||||
'model': 'gpt-3.5-turbo',
|
||||
},
|
||||
'ollama': {
|
||||
'name': 'Ollama',
|
||||
'name': 'Ollama (Llama 3)',
|
||||
'logo_name': 'ollama-symbolic',
|
||||
'description': 'Official Ollama API.\nPricing: Free.',
|
||||
'base_url': 'http://localhost:11434/v1/chat/completions',
|
||||
@@ -25,6 +25,15 @@ const PROVIDERS = { // There's this list hmm https://github.com/zukixa/cool-ai-s
|
||||
'key_file': 'ollama_key.txt',
|
||||
'model': 'llama3:instruct',
|
||||
},
|
||||
'openrouter': {
|
||||
'name': 'OpenRouter (Llama-3-70B)',
|
||||
'logo_name': 'openrouter-symbolic',
|
||||
'description': 'A unified interface for LLMs',
|
||||
'base_url': 'https://openrouter.ai/api/v1/chat/completions',
|
||||
'key_get_url': 'https://openrouter.ai/keys',
|
||||
'key_file': 'openrouter_key.txt',
|
||||
'model': 'meta-llama/llama-3-70b-instruct',
|
||||
},
|
||||
'oxygen4o': {
|
||||
'name': 'Oxygen (GPT-4o)',
|
||||
'logo_name': 'ai-oxygen-symbolic',
|
||||
@@ -44,7 +53,7 @@ const PROVIDERS = { // There's this list hmm https://github.com/zukixa/cool-ai-s
|
||||
'model': 'gpt-3.5-turbo',
|
||||
},
|
||||
'zukijourney': {
|
||||
'name': 'zukijourney',
|
||||
'name': 'zukijourney (GPT-3.5)',
|
||||
'logo_name': 'ai-zukijourney',
|
||||
'description': 'An API from @zukixa on GitHub.\nNote: Keys are IP-locked so it\'s buggy sometimes\nPricing: Free: 10/min, 800/day.\nRequires you to join their Discord for a key',
|
||||
'base_url': 'https://zukijourney.xyzbot.net/v1/chat/completions',
|
||||
|
||||
Reference in New Issue
Block a user