Refactor to reduce config in group_vars
This commit is contained in:
13
roles/apps/aichat.yml
Normal file
13
roles/apps/aichat.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
cargo_packages_app:
|
||||
- aichat
|
||||
|
||||
configs:
|
||||
- path: "{{ ansible_facts['env']['HOME'] }}/.config/aichat/config.yaml"
|
||||
template: |
|
||||
# see https://github.com/sigoden/aichat/blob/main/config.example.yaml
|
||||
|
||||
model: claude:claude-haiku-4-5-20251001
|
||||
|
||||
clients:
|
||||
- type: claude
|
||||
api_key: {{ ANTHROPIC_API_KEY }}
|
||||
Reference in New Issue
Block a user