Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

Oracle: fix size_scaling not forwarded through watch POST handler

nirholas4caf42fddcd7
diff --git a/api/oracle/watch.js b/api/oracle/watch.js
index 8a30d645b..00fef956c 100644
--- a/api/oracle/watch.js
+++ b/api/oracle/watch.js
@@ -115,6 +115,7 @@ export default wrap(async (req, res) => {
max_daily_sol: maxDaily,
max_open: maxOpen,
require_smart_money: cfg.require_smart_money !== false,
+ size_scaling: !!cfg.size_scaling,
});
return json(res, 200, { agent_id: cfg.agent_id, network, watch: saved });
@@ -124,7 +125,8 @@ function defaultWatch(agentId, network) {
return {
agent_id: agentId, network, armed: false, mode: 'simulate',
min_score: 80, min_tier: 'strong', categories: [],
- per_trade_sol: 0.05, max_daily_sol: 0.5, max_open: 5, require_smart_money: true,
+ per_trade_sol: 0.05, max_daily_sol: 0.5, max_open: 5,
+ require_smart_money: true, size_scaling: false,
};
}