We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/KylinMountain/graphrag-server/blob/a83d2fb08a5ec9cd45288068e47d936dd4e40c86/webserver/configs/settings.py#L56C42-L56C58
第 56 行和第 58 行从环境变量中读入了 GRAPHRAG_API_KEY,.env 文件默认设置GRAPHRAG_API_KEY=<API_KEY>,这里没有进行特殊判断,导致 llm_params.api_key 和 text_embedding.llm.api_key 都变成了 <API_KEY>
GRAPHRAG_API_KEY
.env
GRAPHRAG_API_KEY=<API_KEY>
llm_params.api_key
text_embedding.llm.api_key
<API_KEY>
The text was updated successfully, but these errors were encountered:
原来是这样,难怪我没复现出来,.env要是初始化的状态,感谢
Sorry, something went wrong.
Fix: Correct API key loading from environment variables (closes Kylin…
69099ef
…Mountain#10)
No branches or pull requests
https://github.com/KylinMountain/graphrag-server/blob/a83d2fb08a5ec9cd45288068e47d936dd4e40c86/webserver/configs/settings.py#L56C42-L56C58
第 56 行和第 58 行从环境变量中读入了
GRAPHRAG_API_KEY
,.env
文件默认设置GRAPHRAG_API_KEY=<API_KEY>
,这里没有进行特殊判断,导致llm_params.api_key
和text_embedding.llm.api_key
都变成了<API_KEY>
The text was updated successfully, but these errors were encountered: