gupta-sahil01 commented on code in PR #6436:
URL: https://github.com/apache/texera/pull/6436#discussion_r4596291369


##########
agent-service/src/server.ts:
##########
@@ -388,6 +390,45 @@ const agentsRouter = new Elysia({ prefix: "/agents" })
     }
   );
 
+// Stateless ambient operator recommender (apache/texera#5240). Given the
+// operator a user just added, returns a short ranked list of likely next
+// operators for the canvas to render as suggestions. Version 1 uses a
+// hardcoded rule table with no LLM call, so it needs no user token and no
+// per-request model configuration; it only reads the process-wide operator
+// catalog to validate and label its suggestions.
+const recommendRouter = new Elysia({ prefix: "/recommend" })

Review Comment:
   Wired all three in 1a2fd8231: `/api/operator-recommendations` is now in 
`frontend/proxy.config.json`, `bin/single-node/nginx.conf`, and a separate 
Kubernetes HTTPRoute (`<release>-operator-recommendation-route`) that the agent 
BackendTrafficPolicy does not target, so stateless calls are not pinned by 
`X-Agent-Workflow-Id`.
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to