This commit is contained in:
2025-10-21 18:36:09 +00:00
parent b1d63d0e67
commit 533cafa56d
8 changed files with 13 additions and 49 deletions

View File

@@ -1,9 +1,6 @@
# see https://github.com/sigoden/aichat/blob/main/config.example.yaml # see https://github.com/sigoden/aichat/blob/main/config.example.yaml
# see https://github.com/sigoden/aichat/blob/main/models.yaml # see https://github.com/sigoden/aichat/blob/main/models.yaml
model: openrouter:anthropic/claude-sonnet-4
function_calling: false
clients: clients:
- type: openai-compatible - type: openai-compatible
@@ -12,22 +9,9 @@ clients:
api_key: {{ .user.AI_OPENROUTER_KEY }} api_key: {{ .user.AI_OPENROUTER_KEY }}
models: models:
- name: anthropic/claude-opus-4 - name: anthropic/claude-sonnet-4.5
max_input_tokens: 200000 max_input_tokens: 350000
max_output_tokens: 20000 max_output_tokens: 65000
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 require_max_tokens: true
input_price: 3 input_price: 3
output_price: 15 output_price: 15
@@ -38,35 +22,15 @@ clients:
reasoning: reasoning:
effort: high effort: high
- name: deepseek/deepseek-chat-v3.1 - name: deepseek/deepseek-v3.2-exp
max_input_tokens: 163840 max_input_tokens: 163840
input_price: 0.20 input_price: 0.20
output_price: 0.80 output_price: 0.40
patch: patch:
body: body:
reasoning: reasoning:
effort: high effort: high
- name: deepseek/deepseek-chat-v3.1:free
max_input_tokens: 163840
input_price: 0
output_price: 0
patch:
body:
reasoning:
effort: high
- 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 - name: openai/gpt-4.1
max_input_tokens: 1047576 max_input_tokens: 1047576
max_output_tokens: 32768 max_output_tokens: 32768

View File

@@ -1,3 +0,0 @@
---
model: openrouter:deepseek/deepseek-chat-v3.1:free
---

View File

@@ -1,3 +1,3 @@
--- ---
model: openrouter:deepseek/deepseek-chat-v3.1 model: openrouter:deepseek/deepseek-v3.2-exp
--- ---

View File

@@ -1,3 +0,0 @@
---
model: openrouter:anthropic/claude-opus-4
---

View File

@@ -15,6 +15,7 @@ alias node='NODE_NO_READLINE=1 rlwrap node'
export EDITOR=vim export EDITOR=vim
export FZF_COMPLETION_TRIGGER='*'
eval "$(fzf --bash)" eval "$(fzf --bash)"
PS0+='\e]133;C\e\\' PS0+='\e]133;C\e\\'

View File

@@ -0,0 +1 @@
--color=base16

View File

@@ -0,0 +1 @@
export FZF_DEFAULT_OPTS_FILE="$HOME/.config/fzf/config"

View File

@@ -81,7 +81,10 @@ mkdir -p ~/.gnupg && ln -sf ~/.config/gnupg/gpg-agent.conf ~/.gnupg
################################ ################################
############# data ############ ############# data ############
cp -rf data/* ~/.local/share gomplate --input-dir data \
--output-map "$HOME/.config/{{ .in | strings.ReplaceAll \".tmpl\" \"\" }}" \
--exclude-processing "!*.tmpl" \
-c theme=config/theme.json
############################### ###############################
########### compat ############ ########### compat ############