Toggle navigation
Toggle navigation
This project
Loading...
Sign in
万朱浩
/
Venue-Ops
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
666ghj
2025-11-07 14:42:34 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5e953f8923439ec7306665f93aa88111ef542d5f
5e953f89
1 parent
f8d02eb5
Update README.
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
.env.example
config.py
.env.example
View file @
5e953f8
...
...
@@ -21,6 +21,8 @@ DB_CHARSET=utf8mb4
DB_DIALECT=postgresql
# ======================= LLM 相关 =======================
# 我们的LLM模型API赞助商有:https://share.302.ai/P66Qe3、https://aihubmix.com/?aff=8Ds9,提供了非常全面的模型api
# Insight Agent(推荐Kimi,https://platform.moonshot.cn/)API密钥,用于主LLM
INSIGHT_ENGINE_API_KEY=
# Insight Agent LLM接口BaseUrl,可自定义厂商API
...
...
config.py
View file @
5e953f8
...
...
@@ -39,6 +39,8 @@ class Settings(BaseSettings):
DB_CHARSET
:
str
=
Field
(
"utf8mb4"
,
description
=
"数据库字符集,推荐utf8mb4,兼容emoji"
)
# ======================= LLM 相关 =======================
# 我们的LLM模型API赞助商有:https://share.302.ai/P66Qe3、https://aihubmix.com/?aff=8Ds9,提供了非常全面的模型api
# Insight Agent(推荐Kimi,申请地址:https://platform.moonshot.cn/)
INSIGHT_ENGINE_API_KEY
:
Optional
[
str
]
=
Field
(
None
,
description
=
"Insight Agent(推荐Kimi,https://platform.moonshot.cn/)API密钥,用于主LLM。您可以更改每个部分LLM使用的API,🚩只要兼容OpenAI请求格式都可以,定义好KEY、BASE_URL与MODEL_NAME即可正常使用。重要提醒:我们强烈推荐您先使用推荐的配置申请API,先跑通再进行您的更改!"
)
INSIGHT_ENGINE_BASE_URL
:
Optional
[
str
]
=
Field
(
"https://api.moonshot.cn/v1"
,
description
=
"Insight Agent LLM接口BaseUrl,可自定义厂商API"
)
...
...
Please
register
or
login
to post a comment