Skip to content

Commit

Permalink
google search docs
Browse files Browse the repository at this point in the history
  • Loading branch information
c121914yu committed Aug 16, 2023
1 parent 2c174aa commit 38e4a41
Show file tree
Hide file tree
Showing 8 changed files with 786 additions and 69 deletions.
4 changes: 2 additions & 2 deletions client/src/service/response.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const jsonRes = <T = any>(
} else if (openaiError[error?.response?.statusText]) {
msg = openaiError[error.response.statusText];
}
console.log(error?.response);
console.log(error);
}

res.status(code).json({
Expand Down Expand Up @@ -92,7 +92,7 @@ export const sseErrRes = (res: NextApiResponse, error: any) => {
} else if (openaiError[error?.response?.statusText]) {
msg = openaiError[error.response.statusText];
}
console.log('sse error => ', error?.response);
console.log('sse error => ', error);

sseResponse({
res,
Expand Down
37 changes: 0 additions & 37 deletions client/src/utils/plugin/google.ts

This file was deleted.

Binary file modified docSite/docs/flow-modules/examples/imgs/google_search_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docSite/docs/flow-modules/examples/imgs/google_search_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 38e4a41

Please sign in to comment.