mirror of
https://github.com/domfelipe/mika-agent-assist.git
synced 2026-08-07 06:56:44 +00:00
Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
This commit is contained in:
parent
648d2d78da
commit
96a61d57df
1 changed files with 4 additions and 0 deletions
|
|
@ -236,6 +236,10 @@ Deno.serve(async (req) => {
|
|||
? "openrouter/google/gemma-4-31b-it"
|
||||
: "openrouter/google/gemma-4-27b-a4b-it";
|
||||
|
||||
// Injetar modelo + fallback no container (faltava aqui — bots novos nasciam com model: "")
|
||||
envVars.HERMES_MODEL = modelFinal;
|
||||
envVars.HERMES_FALLBACK_MODEL = "openrouter/google/gemma-4-31b-it";
|
||||
|
||||
// 7) Criar serviço no Railway
|
||||
const serviceName = `mika-${agent.uuid_tenant.replace(/-/g, "").slice(0, 8)}`;
|
||||
console.log(`[provision-agent] criando serviço Railway: ${serviceName}`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue