mirror of
https://github.com/Alkatrazz24/Funk-lab.git
synced 2026-07-08 09:04:42 +02:00
feat: initial commit — Ansible roles storage-01/gpu-01 opérationnels
This commit is contained in:
commit
b3fce8af5d
70 changed files with 2688 additions and 0 deletions
36
ansible/roles/litellm/templates/config.yaml.j2
Normal file
36
ansible/roles/litellm/templates/config.yaml.j2
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
model_list:
|
||||
|
||||
# Alias Hermes — changer uniquement ce bloc pour switcher le modèle de Hermes
|
||||
# sans toucher à la configuration de Hermes lui-même
|
||||
- model_name: hermes-default
|
||||
litellm_params:
|
||||
model: openai/qwen3-8b
|
||||
api_base: {{ litellm_local_llm_base_url }}
|
||||
api_key: {{ litellm_local_llm_api_key }}
|
||||
# Pour passer Hermes sur Claude : remplacer les 3 lignes ci-dessus par :
|
||||
# model: anthropic/claude-sonnet-4-6
|
||||
# api_key: os.environ/ANTHROPIC_API_KEY
|
||||
|
||||
# Modèles accessibles directement par nom
|
||||
- model_name: qwen3-8b
|
||||
litellm_params:
|
||||
model: openai/qwen3-8b
|
||||
api_base: {{ litellm_local_llm_base_url }}
|
||||
api_key: {{ litellm_local_llm_api_key }}
|
||||
|
||||
- model_name: claude-sonnet-4-6
|
||||
litellm_params:
|
||||
model: anthropic/claude-sonnet-4-6
|
||||
api_key: os.environ/ANTHROPIC_API_KEY
|
||||
|
||||
- model_name: claude-opus-4-7
|
||||
litellm_params:
|
||||
model: anthropic/claude-opus-4-7
|
||||
api_key: os.environ/ANTHROPIC_API_KEY
|
||||
|
||||
litellm_settings:
|
||||
drop_params: true
|
||||
request_timeout: 600
|
||||
|
||||
general_settings:
|
||||
master_key: {{ litellm_master_key }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue