Skip to content

SmythOS Studio: Open-Source Visual AI Agent Builder and deployable runtime stack from SmythOS. Start with an intuitive drag-and-drop workspace, extend with custom code, and deploy your agents anywhere — local, cloud, or edge — with full governance and control.

Update chat API endpoint to version 1

Salman-Ahamedd21a7e358cb6
diff --git a/packages/app/src/backend/routes/api/page/chat.ts b/packages/app/src/backend/routes/api/page/chat.ts
index e629d2b0..89c4d560 100644
--- a/packages/app/src/backend/routes/api/page/chat.ts
+++ b/packages/app/src/backend/routes/api/page/chat.ts
@@ -130,7 +130,7 @@ router.post('/new', async (req, res) => {
const token = req.user.accessToken;
const response = await axios.post(
- getAgentServerURL(agentId as string, isUsingLocalServer) + '/aichat/new',
+ getAgentServerURL(agentId as string, isUsingLocalServer) + '/v1/emb/chat/new',
req.body,
{
headers: {