fix: template now uses ollama-cloud as built-in provider + home_channel placeholders
Root cause: 'ollama-cloud' is a built-in Hermes provider. Putting it under custom_providers with api_key_env broke key resolution. Built-in providers use their own env-var conventions (OLLAMA_API_KEY, not HERMES_API_KEY). Changes: - template: model.provider=ollama-cloud, base_url=ollama.com/v1 (no custom_providers) - template: gateway.platforms.rocketchat.home_channel with PLACEHOLDER vars - install.sh: sed-replace placeholders with actual RC_URL/RC_HOME_CHANNEL - template: .env now uses OLLAMA_API_KEY (what ollama-cloud actually reads) - Bug #11 (export prefix in rocketchat.env) still needs push
This commit is contained in:
@@ -5,15 +5,9 @@
|
||||
model:
|
||||
default: deepseek-v4-pro
|
||||
provider: ollama-cloud
|
||||
base_url: https://api.openai.com/v1
|
||||
base_url: https://ollama.com/v1
|
||||
|
||||
fallback_providers:
|
||||
- ollama-cloud
|
||||
|
||||
custom_providers:
|
||||
- name: ollama-cloud
|
||||
base_url: https://api.openai.com/v1
|
||||
api_key_env: HERMES_API_KEY
|
||||
providers: {}
|
||||
|
||||
toolsets:
|
||||
- hermes-cli
|
||||
@@ -37,3 +31,9 @@ gateway:
|
||||
platforms:
|
||||
rocketchat:
|
||||
enabled: true
|
||||
extra:
|
||||
base_url: PLACEHOLDER_RC_URL
|
||||
home_channel:
|
||||
platform: rocketchat
|
||||
chat_id: PLACEHOLDER_RC_HOME
|
||||
name: PLACEHOLDER_RC_HOME_NAME
|
||||
|
||||
Reference in New Issue
Block a user