Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Use default configured URL for Flowise engine client requests #439

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix: Use default configured URL for Flowise engine client requests
  • Loading branch information
O-Basaqer committed Dec 24, 2024
commit 2a51efed438d92cb657686649a6833428702de8d
5 changes: 4 additions & 1 deletion out/cli.cjs
Original file line number Diff line number Diff line change
@@ -58583,7 +58583,10 @@ var FlowiseEngine = class {
history: messages.slice(1, -1)
};
try {
const response = await this.client.post("", payload);
const response = await this.client.post(
this.client.defaults.url,
payload
);
const message = response.data;
return message?.text;
} catch (err) {
Loading
Oops, something went wrong.