Update README.md
This commit is contained in:
parent
69ff1f9e69
commit
f7aed29c61
|
@ -38,14 +38,11 @@ pnpm install
|
||||||
1. 修改 `browser/src/config.ts` 中的 `BING_SEARCH_API_KEY` 配置浏览器服务需要使用的 Bing 搜索 API Key:
|
1. 修改 `browser/src/config.ts` 中的 `BING_SEARCH_API_KEY` 配置浏览器服务需要使用的 Bing 搜索 API Key:
|
||||||
|
|
||||||
```diff
|
```diff
|
||||||
--- a/browser/src/config.ts
|
export default {
|
||||||
+++ b/browser/src/config.ts
|
|
||||||
@@ -3,7 +3,7 @@ export default {
|
|
||||||
|
|
||||||
BROWSER_TIMEOUT: 10000,
|
BROWSER_TIMEOUT: 10000,
|
||||||
BING_SEARCH_API_URL: 'https://api.bing.microsoft.com/v7.0',
|
BING_SEARCH_API_URL: 'https://api.bing.microsoft.com/v7.0',
|
||||||
- BING_SEARCH_API_KEY: '',
|
BING_SEARCH_API_KEY: '<PUT_YOUR_BING_SEARCH_KEY_HERE>',
|
||||||
+ BING_SEARCH_API_KEY: '<PUT_YOUR_BING_SEARCH_KEY_HERE>',
|
|
||||||
|
|
||||||
HOST: 'localhost',
|
HOST: 'localhost',
|
||||||
PORT: 3000,
|
PORT: 3000,
|
||||||
|
@ -55,14 +52,11 @@ pnpm install
|
||||||
,提供文生图功能需要使用的 [智谱 AI 开放平台](https://open.bigmodel.cn) API Key:
|
,提供文生图功能需要使用的 [智谱 AI 开放平台](https://open.bigmodel.cn) API Key:
|
||||||
|
|
||||||
```diff
|
```diff
|
||||||
--- a/src/tools/config.py
|
BROWSER_SERVER_URL = 'http://localhost:3000'
|
||||||
+++ b/src/tools/config.py
|
|
||||||
@@ -2,5 +2,5 @@ BROWSER_SERVER_URL = 'http://localhost:3000'
|
|
||||||
|
|
||||||
IPYKERNEL = 'glm-4-demo'
|
IPYKERNEL = 'glm-4-demo'
|
||||||
|
|
||||||
-ZHIPU_AI_KEY = ''
|
ZHIPU_AI_KEY = '<PUT_YOUR_ZHIPU_AI_KEY_HERE>'
|
||||||
+ZHIPU_AI_KEY = '<PUT_YOUR_ZHIPU_AI_KEY_HERE>'
|
|
||||||
COGVIEW_MODEL = 'cogview-3'
|
COGVIEW_MODEL = 'cogview-3'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue