This commit is contained in:
liaofulong(ikun)
2023-10-29 14:27:05 +08:00
parent 87db1d5bab
commit 1ed8bae945
5 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ export default defineUserConfig({
[
"link",
{
href: "https://fonts.googleapis.com/css2?family=ZCOOL+XiaoWei&display=swap",
href: "https://fonts.googleapis.com/css2?family=Playpen+Sans:wght@200&family=ZCOOL+XiaoWei&display=swap",
rel: "stylesheet",
},
],
+1 -1
View File
@@ -1,3 +1,3 @@
// you can change colors here
$theme-colors: #bf1832,#5F4B8B, #dd4025,#f5df4d;
$font-family: 'ZCOOL XiaoWei';
$font-family: 'Playpen Sans,ZCOOL XiaoWei';
+1
View File
@@ -36,6 +36,7 @@ openai_config = {
}
```
> 本问题可见于[功能介绍的api-key的配置](./functionIntroduction.md/#api-key的配置)
提示:如果你的API Key来自转发API,需在反向代理"reverse_proxy"中配置BASE_URL,通常为:https://管理地址/v1
:::
## [bot]person_ xxxxxxx会话调用API失败:Error communicating with OpenAI您的网络无法访问OpenAI接口或网络代理不正常
:::tip 解答
+3 -6
View File
@@ -6,8 +6,8 @@ head:
title: 手动部署(推荐,可以在所有平台上使用)
icon: support
order: 3
author: Lazy
date: 2023-09-30
author: Lazy.ikun
date: 2023-10-29
category:
- 部署教程
---
@@ -72,7 +72,4 @@ python3 main.py
python3 main.py
```
无报错信息即为运行成功
无报错信息即为运行成功
+4 -2
View File
@@ -6,8 +6,8 @@ head:
title: 功能介绍
icon: info
order: 2
author: Lazy
date: 2023-09-30
author: Lazy,ikun
date: 2023-10-28
category:
- 功能介绍
---
@@ -151,6 +151,8 @@ openai_config = {
如果你使用我提供的反向代理,那么请将`"reverse_proxy": None`改为`"reverse_proxy": "http://api.openai.lazyshare.top/v1"`
设置完成后应是如图情况(我这里用了一个api_key)
![反代设置.jpg](https://s2.loli.net/2023/08/16/GeoiZCbLtfg3uqH.jpg)
[**文档另一位编写者**](https://space.bilibili.com/1255655486)提供一个反向代理地址`https://openai.ikunshare.link/v1`,反代不一定长期有效,所以快去三连
如果使用我提供的反代,请将`"reverse_proxy": None`改为`"reverse_proxy": "https://openai.ikunshare.link/v1"`
### 特殊情况
正常情况下,截至目前,主要使用的还是gpt-3.5模型,可以免费体验,因此大多数采用的是官方接口,无论是你自己注册还是正常商家出售的。