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
245582d318
commit
885b2ebe1f
1 changed files with 10 additions and 1 deletions
|
|
@ -223,7 +223,16 @@ Deno.serve(async (req) => {
|
||||||
// 8) Persistir railway_service_id no agent_instance e no job (status='running')
|
// 8) Persistir railway_service_id no agent_instance e no job (status='running')
|
||||||
await supabase
|
await supabase
|
||||||
.from("agent_instances")
|
.from("agent_instances")
|
||||||
.update({ railway_service_id: railwayServiceId, vps_pool_id: pool.id })
|
.update({
|
||||||
|
railway_service_id: railwayServiceId,
|
||||||
|
vps_pool_id: pool.id,
|
||||||
|
model_config: {
|
||||||
|
provider: model,
|
||||||
|
stt: sttProvider,
|
||||||
|
tts: ttsProvider,
|
||||||
|
agent_name: agentName,
|
||||||
|
},
|
||||||
|
})
|
||||||
.eq("id", agent.id);
|
.eq("id", agent.id);
|
||||||
|
|
||||||
await supabase
|
await supabase
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue