File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -81665,7 +81665,7 @@ const Bot = botProps => {
8166581665 }
8166681666 return fetch(input, init);
8166781667 };
81668- fetchEventSource(`${props.apiHost}/' api/v1/prediction'} /${chatflowid}`, {
81668+ fetchEventSource(`${props.apiHost}/api/v1/prediction/${chatflowid}`, {
8166981669 openWhenHidden: true,
8167081670 method: 'POST',
8167181671 body: JSON.stringify(params),
Original file line number Diff line number Diff line change @@ -81671,7 +81671,7 @@ ${body}</tbody>
8167181671 }
8167281672 return fetch(input, init);
8167381673 };
81674- fetchEventSource(`${props.apiHost}/' api/v1/prediction'} /${chatflowid}`, {
81674+ fetchEventSource(`${props.apiHost}/api/v1/prediction/${chatflowid}`, {
8167581675 openWhenHidden: true,
8167681676 method: 'POST',
8167781677 body: JSON.stringify(params),
Original file line number Diff line number Diff line change @@ -935,7 +935,7 @@ export const Bot = (botProps: BotProps & { class?: string }) => {
935935 return fetch ( input , init ) ;
936936 } ;
937937
938- fetchEventSource ( `${ props . apiHost } /' api/v1/prediction'} /${ chatflowid } ` , {
938+ fetchEventSource ( `${ props . apiHost } /api/v1/prediction/${ chatflowid } ` , {
939939 openWhenHidden : true ,
940940 method : 'POST' ,
941941 body : JSON . stringify ( params ) ,
You can’t perform that action at this time.
0 commit comments