Skip to content

Commit

Permalink
feat: Replaced Google search with Serper API
Browse files Browse the repository at this point in the history
  • Loading branch information
Peek-A-Booo committed Aug 11, 2023
1 parent 98cb56d commit 8ae7dcb
Show file tree
Hide file tree
Showing 20 changed files with 614 additions and 1,036 deletions.
7 changes: 5 additions & 2 deletions .env.local.demo
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ NEXTPUBLIC_UMAMI_WEBSITE_ID=
# Vercel Cron Secret
CRON_SECRET=

# Google Search
# Google Search (Temporarily abandoned)
GOOGLE_SEARCH_ENGINE_ID=
GOOGLE_SEARCH_API_KEY=
GOOGLE_SEARCH_API_KEY=

# SERPER API KEY
SERPER_API_KEY=
4 changes: 3 additions & 1 deletion CHANGE_LOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@

## v0.8.3

> 2023-08-11
> 2023-08-12
### Fixed

- Fixed mobile session content obscuring the bottom input box
- Refactored function calling invocation logic and fixed bugs

### Add

Expand All @@ -17,6 +18,7 @@
### Changed

- Adjusted the text input box for editing chat content to Textarea
- Replaced Google search with [Serper API](https://serper.dev/), which is easier to configure

## v0.8.2

Expand Down
4 changes: 3 additions & 1 deletion CHANGE_LOG.zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@

## v0.8.3

> 2023-08-11
> 2023-08-12
### 修复

- 修复移动端会话内容遮挡底部输入框的问题
- 重构 function calling 的调用逻辑,修复 bug

### 新增

Expand All @@ -17,6 +18,7 @@
### 调整

- 调整编辑聊天内容的文本输入框为 Textarea
- 将谷歌搜索 由官方 API 更换为 [Serper API](https://serper.dev/),配置更方便

## v0.8.2

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"clsx": "2.0.0",
"decimal.js": "10.4.3",
"echarts": "5.4.3",
"eslint": "8.46.0",
"eslint": "8.47.0",
"eslint-config-next": "13.4.13",
"file-saver": "2.0.5",
"framer-motion": "10.15.1",
Expand All @@ -40,7 +40,7 @@
"math-random": "2.0.1",
"microsoft-cognitiveservices-speech-sdk": "1.31.0",
"next": "13.4.13",
"next-auth": "4.22.5",
"next-auth": "4.23.0",
"next-intl": "2.19.1",
"next-themes": "0.2.1",
"nodemailer": "6.9.4",
Expand Down
109 changes: 57 additions & 52 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

1 comment on commit 8ae7dcb

@vercel
Copy link

@vercel vercel bot commented on 8ae7dcb Aug 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.