diff --git a/src/engine/flowise.ts b/src/engine/flowise.ts index 00890f5c..836f9040 100644 --- a/src/engine/flowise.ts +++ b/src/engine/flowise.ts @@ -34,7 +34,11 @@ export class FlowiseEngine implements AiEngine { history: messages.slice(1, -1) }; try { - const response = await this.client.post('', payload); + const response = await this.client.post( + this.client.getUri(this.config), + payload + ); + const message = response.data; return message?.text; } catch (err: any) {