Enhance Code Consistency Across Repository with .editorconfig (#19023)
This commit is contained in:
parent
226afd4550
commit
bd1bbfee4b
274 changed files with 1271 additions and 1217 deletions
|
|
@ -334,12 +334,12 @@ export class ChatClient extends DifyClient {
|
|||
|
||||
export class WorkflowClient extends DifyClient {
|
||||
run(inputs,user,stream) {
|
||||
const data = {
|
||||
inputs,
|
||||
const data = {
|
||||
inputs,
|
||||
response_mode: stream ? "streaming" : "blocking",
|
||||
user
|
||||
user
|
||||
};
|
||||
|
||||
|
||||
return this.sendRequest(
|
||||
routes.runWorkflow.method,
|
||||
routes.runWorkflow.url(),
|
||||
|
|
@ -357,4 +357,4 @@ export class WorkflowClient extends DifyClient {
|
|||
data
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue