mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-11-01 05:15:22 +08:00
update
This commit is contained in:
@@ -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,3 +1,3 @@
|
||||
// you can change colors here
|
||||
$theme-colors: #bf1832,#5F4B8B, #dd4025,#f5df4d;
|
||||
$font-family: 'ZCOOL XiaoWei';
|
||||
$font-family: 'Playpen Sans,ZCOOL XiaoWei';
|
||||
@@ -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 解答
|
||||
|
||||
@@ -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
|
||||
```
|
||||
|
||||
无报错信息即为运行成功
|
||||
|
||||
|
||||
|
||||
无报错信息即为运行成功
|
||||
@@ -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)
|
||||

|
||||
[**文档另一位编写者**](https://space.bilibili.com/1255655486)提供一个反向代理地址`https://openai.ikunshare.link/v1`,反代不一定长期有效,所以快去三连
|
||||
如果使用我提供的反代,请将`"reverse_proxy": None`改为`"reverse_proxy": "https://openai.ikunshare.link/v1"`
|
||||
|
||||
### 特殊情况
|
||||
正常情况下,截至目前,主要使用的还是gpt-3.5模型,可以免费体验,因此大多数采用的是官方接口,无论是你自己注册还是正常商家出售的。
|
||||
|
||||
Reference in New Issue
Block a user