38 lines
2.0 KiB
YAML
38 lines
2.0 KiB
YAML
---
|
|
acp_hermes_service_name: acp-hermes
|
|
acp_hermes_version: "0.15"
|
|
acp_hermes_bridge_local_source_dir: "{{ playbook_dir }}/../xworkmate-bridge"
|
|
acp_hermes_bridge_local_build_dir: "{{ playbook_dir }}/.artifacts/acp_hermes"
|
|
acp_hermes_bridge_local_binary_path: "{{ acp_hermes_bridge_local_build_dir }}/xworkmate-go-core"
|
|
acp_hermes_bridge_build_goos: "{{ 'darwin' if ansible_os_family == 'Darwin' else 'linux' }}"
|
|
acp_hermes_bridge_build_goarch: "{{ 'arm64' if ansible_architecture in ['aarch64', 'arm64'] else 'amd64' }}"
|
|
acp_hermes_bridge_use_prebuilt: "{{ lookup('ansible.builtin.env', 'AI_WORKSPACE_USE_PREBUILT_BRIDGE') | default('false', true) | bool }}"
|
|
acp_hermes_listen_host: 127.0.0.1
|
|
acp_hermes_listen_port: 3920
|
|
acp_hermes_service_user: ubuntu
|
|
acp_hermes_service_group: ubuntu
|
|
acp_hermes_bridge_binary_path: /usr/local/bin/xworkmate-go-core
|
|
acp_hermes_workdir: /home/ubuntu/hermes-agent
|
|
acp_hermes_home: /home/ubuntu
|
|
acp_hermes_binary_path: /home/ubuntu/hermes-agent/venv/bin/hermes
|
|
acp_hermes_args: acp
|
|
acp_hermes_xdg_config_home: /home/ubuntu/.config
|
|
acp_hermes_xdg_state_home: /home/ubuntu/.local/state
|
|
acp_hermes_allowed_origins:
|
|
- https://xworkmate.svc.plus
|
|
- http://localhost:*
|
|
- http://127.0.0.1:*
|
|
acp_hermes_public_base_url: https://xworkmate-bridge.svc.plus/hermes
|
|
acp_hermes_manage_caddy: false
|
|
ai_workspace_auth_token: "{{ lookup('ansible.builtin.env', 'AI_WORKSPACE_AUTH_TOKEN') | default('', true) }}"
|
|
acp_hermes_auth_token: "{{ lookup('ansible.builtin.env', 'INTERNAL_SERVICE_TOKEN') | default(ai_workspace_auth_token, true) }}"
|
|
acp_hermes_environment:
|
|
XDG_CONFIG_HOME: "{{ acp_hermes_xdg_config_home }}"
|
|
XDG_STATE_HOME: "{{ acp_hermes_xdg_state_home }}"
|
|
HERMES_ADAPTER_AUTH_TOKEN: "{{ acp_hermes_effective_auth_token | default(acp_hermes_auth_token) }}"
|
|
ACP_HERMES_BIN: "{{ acp_hermes_binary_path }}"
|
|
OPENAI_API_BASE: "http://127.0.0.1:{{ litellm_listen_port | default(4000) }}/v1"
|
|
OPENAI_API_KEY: "{{ acp_hermes_auth_token }}"
|
|
acp_hermes_packages:
|
|
- caddy
|