Compare commits
2 Commits
2feac52b39
...
54836c9435
Author | SHA1 | Date | |
---|---|---|---|
54836c9435 | |||
e5d95820a7 |
@ -6,7 +6,7 @@ PACKAGES=(
|
||||
|
||||
linux base linux-firmware lvm2 sudo polkit # base
|
||||
pulseaudio pulseaudio-bluetooth bluez bluez-utils networkmanager udisks2 # device management
|
||||
openssh sysstat screen man-db # system
|
||||
openssh sysstat screen man-db which # system
|
||||
|
||||
nodejs dash jq # runtime
|
||||
qemu-system-x86 # virt
|
||||
@ -18,7 +18,7 @@ PACKAGES=(
|
||||
git zip # data processing
|
||||
gnupg pass pass-otp # crypt
|
||||
imv mpv imagemagick gimp # media
|
||||
libqalculate translate-shell # utils
|
||||
aichat libqalculate translate-shell # utils
|
||||
sqlitebrowser qt5-wayland # db
|
||||
libreoffice-still # docs
|
||||
|
||||
@ -30,6 +30,7 @@ PACKAGES=(
|
||||
foot bemenu-wayland i3blocks mako libnotify # terminals, ui
|
||||
wev wl-clipboard wtype slurp grim # interaction
|
||||
ttf-roboto ttf-roboto-mono ttf-font-awesome # fonts
|
||||
kvantum kvantum-qt5 kvantum-theme-materia materia-gtk-theme # themes
|
||||
|
||||
)
|
||||
|
||||
|
6
arch-user/bin/ai
Executable file
6
arch-user/bin/ai
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
role="$1"
|
||||
shift
|
||||
|
||||
aichat --role "$role" "$@"
|
2
arch-user/config/Kvantum/kvantum.kvconfig
Normal file
2
arch-user/config/Kvantum/kvantum.kvconfig
Normal file
@ -0,0 +1,2 @@
|
||||
[General]
|
||||
theme=MateriaDark
|
69
arch-user/config/aichat/config.yaml.tmpl
Normal file
69
arch-user/config/aichat/config.yaml.tmpl
Normal file
@ -0,0 +1,69 @@
|
||||
# see https://github.com/sigoden/aichat/blob/main/config.example.yaml
|
||||
# see https://github.com/sigoden/aichat/blob/main/models.yaml
|
||||
|
||||
model: openrouter:anthropic/claude-sonnet-4
|
||||
function_calling: false
|
||||
|
||||
clients:
|
||||
|
||||
- type: openai-compatible
|
||||
name: openrouter
|
||||
api_base: https://openrouter.ai/api/v1
|
||||
api_key: {{ .user.AI_OPENROUTER_KEY }}
|
||||
models:
|
||||
|
||||
- name: anthropic/claude-opus-4
|
||||
max_input_tokens: 200000
|
||||
max_output_tokens: 20000
|
||||
require_max_tokens: true
|
||||
input_price: 15
|
||||
output_price: 75
|
||||
supports_vision: true
|
||||
supports_function_calling: true
|
||||
patch:
|
||||
body:
|
||||
reasoning:
|
||||
effort: high
|
||||
|
||||
- name: anthropic/claude-sonnet-4
|
||||
max_input_tokens: 200000
|
||||
max_output_tokens: 20000
|
||||
require_max_tokens: true
|
||||
input_price: 3
|
||||
output_price: 15
|
||||
supports_vision: true
|
||||
supports_function_calling: true
|
||||
patch:
|
||||
body:
|
||||
reasoning:
|
||||
effort: high
|
||||
|
||||
|
||||
- name: deepseek/deepseek-r1-0528
|
||||
max_input_tokens: 65536
|
||||
input_price: 0.28
|
||||
output_price: 1.12
|
||||
|
||||
- name: deepseek/deepseek-r1-0528:free
|
||||
max_input_tokens: 65536
|
||||
input_price: 0
|
||||
output_price: 0
|
||||
|
||||
|
||||
- name: perplexity/sonar-pro
|
||||
max_input_tokens: 200000
|
||||
input_price: 3
|
||||
output_price: 15
|
||||
|
||||
- name: perplexity/sonar
|
||||
max_input_tokens: 127072
|
||||
input_price: 1
|
||||
output_price: 1
|
||||
|
||||
- name: openai/gpt-4.1
|
||||
max_input_tokens: 1047576
|
||||
max_output_tokens: 32768
|
||||
input_price: 2
|
||||
output_price: 8
|
||||
supports_vision: true
|
||||
supports_function_calling: true
|
3
arch-user/config/aichat/roles/ds-free.md
Normal file
3
arch-user/config/aichat/roles/ds-free.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
model: openrouter:deepseek/deepseek-r1-0528:free
|
||||
---
|
3
arch-user/config/aichat/roles/ds.md
Normal file
3
arch-user/config/aichat/roles/ds.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
model: openrouter:deepseek/deepseek-r1-0528
|
||||
---
|
3
arch-user/config/aichat/roles/gpt.md
Normal file
3
arch-user/config/aichat/roles/gpt.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
model: openrouter:openai/gpt-4.1
|
||||
---
|
3
arch-user/config/aichat/roles/opus.md
Normal file
3
arch-user/config/aichat/roles/opus.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
model: openrouter:anthropic/claude-opus-4
|
||||
---
|
1
arch-user/config/aichat/roles/search.md
Symbolic link
1
arch-user/config/aichat/roles/search.md
Symbolic link
@ -0,0 +1 @@
|
||||
sonar.md
|
3
arch-user/config/aichat/roles/sonar.md
Normal file
3
arch-user/config/aichat/roles/sonar.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
model: openrouter:perplexity/sonar
|
||||
---
|
3
arch-user/config/aichat/roles/sonnet.md
Normal file
3
arch-user/config/aichat/roles/sonnet.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
model: openrouter:anthropic/claude-sonnet-4
|
||||
---
|
@ -4,6 +4,9 @@ export PATH=~/.local/bin:$PATH
|
||||
|
||||
export WLR_RENDERER=vulkan
|
||||
|
||||
export QT_STYLE_OVERRIDE=kvantum
|
||||
export GTK_THEME=Materia-dark
|
||||
|
||||
for fpath in ~/.config/*/env.sh; do
|
||||
. "$fpath"
|
||||
done
|
||||
|
@ -39,7 +39,7 @@ c.bindings.key_mappings.update(dict(zip("ьЬыЫфФпПбБжЖлЛуУяЯа
|
||||
############################################
|
||||
|
||||
# styles
|
||||
c.colors.webpage.preferred_color_scheme = 'dark'
|
||||
#c.colors.webpage.preferred_color_scheme = 'dark'
|
||||
c.colors.webpage.darkmode.enabled = True
|
||||
c.colors.webpage.bg = '#'+env['QB_THEME_COLOR_BG']
|
||||
c.fonts.default_family = 'Roboto'
|
||||
@ -51,7 +51,6 @@ c.url.searchengines = {
|
||||
'!d': 'https://lite.duckduckgo.com/lite?&q={}',
|
||||
'!g': 'https://google.com/search?hl=en&q={}',
|
||||
'!y': 'https://ya.ru/search/?text={}',
|
||||
'!c': 'https://chat.openai.com/chat?q={}',
|
||||
}
|
||||
###########################################
|
||||
|
||||
|
@ -2,3 +2,4 @@ GIT_USER_EMAIL=
|
||||
GIT_USER_NAME=
|
||||
BACKUP_KEY_VOL_UUID=
|
||||
BACKUP_DATA_VOL_UUID=
|
||||
AI_OPENROUTER_KEY=
|
||||
|
Loading…
Reference in New Issue
Block a user