mirror of
https://github.com/domfelipe/mika-agent-assist.git
synced 2026-08-07 07:56:42 +00:00
Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
This commit is contained in:
parent
b08c92c8a3
commit
1093d789bf
1 changed files with 5 additions and 4 deletions
|
|
@ -101,11 +101,12 @@ Deno.serve(async (req) => {
|
||||||
return jsonResponse(500, { error: "failed to resolve railway project/environment" });
|
return jsonResponse(500, { error: "failed to resolve railway project/environment" });
|
||||||
}
|
}
|
||||||
|
|
||||||
// 4) Upsert variáveis
|
// 4) Upsert variáveis (SOUL.md agora vive na imagem Docker — não sobrescrever via env)
|
||||||
const variables: Record<string, string> = {
|
const variables: Record<string, string> = {
|
||||||
HERMES_SOUL_OVERRIDE: body.soul_content,
|
OLLAMA_API_KEY: Deno.env.get("OLLAMA_API_KEY") ?? "",
|
||||||
HERMES_MODEL: body.model,
|
TELEGRAM_BOT_TOKEN: Deno.env.get("TELEGRAM_BOT_TOKEN") ?? "",
|
||||||
HERMES_FALLBACK_MODEL: "openrouter/google/gemma-4-31b-it",
|
TELEGRAM_ALLOWED_USERS: Deno.env.get("TELEGRAM_ALLOWED_USERS") ?? "",
|
||||||
|
TELEGRAM_HOME_CHANNEL: Deno.env.get("TELEGRAM_HOME_CHANNEL") ?? "",
|
||||||
HERMES_STT_PROVIDER: body.stt_provider || "local",
|
HERMES_STT_PROVIDER: body.stt_provider || "local",
|
||||||
HERMES_TTS_PROVIDER: body.tts_provider || "disabled",
|
HERMES_TTS_PROVIDER: body.tts_provider || "disabled",
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue