forked from Shinonome/dots-hyprland
Merge branch 'main' of github.com:end-4/dots-hyprland
This commit is contained in:
@@ -84,6 +84,19 @@ let configOptions = {
|
|||||||
'wsNumMarginScale': 0.07,
|
'wsNumMarginScale': 0.07,
|
||||||
},
|
},
|
||||||
'sidebar': {
|
'sidebar': {
|
||||||
|
'ai': {
|
||||||
|
'extraGptModels': {
|
||||||
|
'oxygen3': {
|
||||||
|
'name': 'Oxygen (GPT-3.5)',
|
||||||
|
'logo_name': 'ai-oxygen-symbolic',
|
||||||
|
'description': 'An API from Tornado Softwares\nPricing: Free: 100/day\nRequires you to join their Discord for a key',
|
||||||
|
'base_url': 'https://app.oxyapi.uk/v1/chat/completions',
|
||||||
|
'key_get_url': 'https://discord.com/invite/kM6MaCqGKA',
|
||||||
|
'key_file': 'oxygen_key.txt',
|
||||||
|
'model': 'gpt-3.5-turbo',
|
||||||
|
},
|
||||||
|
}
|
||||||
|
},
|
||||||
'image': {
|
'image': {
|
||||||
'columns': 2,
|
'columns': 2,
|
||||||
'batchCount': 20,
|
'batchCount': 20,
|
||||||
@@ -95,7 +108,6 @@ let configOptions = {
|
|||||||
'order': ["gemini", "gpt", "waifu", "booru"],
|
'order': ["gemini", "gpt", "waifu", "booru"],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
},
|
},
|
||||||
'search': {
|
'search': {
|
||||||
'enableFeatures': {
|
'enableFeatures': {
|
||||||
@@ -217,7 +229,7 @@ function overrideConfigRecursive(userOverrides, configOptions = {}, check = true
|
|||||||
optionsOkay = false;
|
optionsOkay = false;
|
||||||
}
|
}
|
||||||
else if (typeof value === 'object' && !(value instanceof Array)) {
|
else if (typeof value === 'object' && !(value instanceof Array)) {
|
||||||
if (key === "substitutions" || key === "regexSubstitutions") {
|
if (key === "substitutions" || key === "regexSubstitutions" || key === "extraGptModels") {
|
||||||
overrideConfigRecursive(value, configOptions[key], false);
|
overrideConfigRecursive(value, configOptions[key], false);
|
||||||
} else overrideConfigRecursive(value, configOptions[key]);
|
} else overrideConfigRecursive(value, configOptions[key]);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import GLib from 'gi://GLib';
|
|||||||
import Soup from 'gi://Soup?version=3.0';
|
import Soup from 'gi://Soup?version=3.0';
|
||||||
import { fileExists } from '../modules/.miscutils/files.js';
|
import { fileExists } from '../modules/.miscutils/files.js';
|
||||||
|
|
||||||
const PROVIDERS = { // There's this list hmm https://github.com/zukixa/cool-ai-stuff/
|
const PROVIDERS = Object.assign({ // There's this list hmm https://github.com/zukixa/cool-ai-stuff/
|
||||||
'openai': {
|
'openai': {
|
||||||
'name': 'OpenAI',
|
'name': 'OpenAI',
|
||||||
'logo_name': 'openai-symbolic',
|
'logo_name': 'openai-symbolic',
|
||||||
@@ -43,15 +43,6 @@ const PROVIDERS = { // There's this list hmm https://github.com/zukixa/cool-ai-s
|
|||||||
'key_file': 'oxygen_key.txt',
|
'key_file': 'oxygen_key.txt',
|
||||||
'model': 'gpt-4o',
|
'model': 'gpt-4o',
|
||||||
},
|
},
|
||||||
'oxygen3': {
|
|
||||||
'name': 'Oxygen (GPT-3.5)',
|
|
||||||
'logo_name': 'ai-oxygen-symbolic',
|
|
||||||
'description': 'An API from Tornado Softwares\nPricing: Free: 100/day\nRequires you to join their Discord for a key',
|
|
||||||
'base_url': 'https://app.oxyapi.uk/v1/chat/completions',
|
|
||||||
'key_get_url': 'https://discord.com/invite/kM6MaCqGKA',
|
|
||||||
'key_file': 'oxygen_key.txt',
|
|
||||||
'model': 'gpt-3.5-turbo',
|
|
||||||
},
|
|
||||||
'zukijourney': {
|
'zukijourney': {
|
||||||
'name': 'zukijourney (GPT-3.5)',
|
'name': 'zukijourney (GPT-3.5)',
|
||||||
'logo_name': 'ai-zukijourney',
|
'logo_name': 'ai-zukijourney',
|
||||||
@@ -61,7 +52,7 @@ const PROVIDERS = { // There's this list hmm https://github.com/zukixa/cool-ai-s
|
|||||||
'key_file': 'zuki_key.txt',
|
'key_file': 'zuki_key.txt',
|
||||||
'model': 'gpt-3.5-turbo',
|
'model': 'gpt-3.5-turbo',
|
||||||
},
|
},
|
||||||
}
|
}, userOptions.sidebar.ai.extraGptModels)
|
||||||
|
|
||||||
// Custom prompt
|
// Custom prompt
|
||||||
const initMessages =
|
const initMessages =
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
--password-store=gnome-libsecret
|
||||||
|
--ozone-platform-hint=wayland
|
||||||
|
--gtk-version=4
|
||||||
|
--ignore-gpu-blocklist
|
||||||
|
--enable-features=TouchpadOverscrollHistoryNavigation
|
||||||
|
--enable-wayland-ime
|
||||||
@@ -3,3 +3,4 @@
|
|||||||
--ignore-gpu-blocklist
|
--ignore-gpu-blocklist
|
||||||
--enable-features=TouchpadOverscrollHistoryNavigation
|
--enable-features=TouchpadOverscrollHistoryNavigation
|
||||||
--enable-wayland-ime
|
--enable-wayland-ime
|
||||||
|
--password-store=gnome-libsecret
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ depends=(
|
|||||||
wget
|
wget
|
||||||
ripgrep
|
ripgrep
|
||||||
gojq
|
gojq
|
||||||
|
jq
|
||||||
npm
|
npm
|
||||||
meson
|
meson
|
||||||
typescript
|
typescript
|
||||||
|
|||||||
Reference in New Issue
Block a user