diff --git a/.config/ags/assets/icons/openrouter-symbolic.svg b/.config/ags/assets/icons/openrouter-symbolic.svg new file mode 100644 index 00000000..32aaaf50 --- /dev/null +++ b/.config/ags/assets/icons/openrouter-symbolic.svg @@ -0,0 +1,39 @@ + + + + + + diff --git a/.config/ags/services/gpt.js b/.config/ags/services/gpt.js index a8496f45..6d7f4020 100644 --- a/.config/ags/services/gpt.js +++ b/.config/ags/services/gpt.js @@ -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',