mirror of
https://github.com/Jerryplusy/AI-powered-switches.git
synced 2025-07-04 13:19:20 +00:00
fix-env
修复暴露api密钥的问题
This commit is contained in:
parent
757abc66eb
commit
ad16915f53
6
.idea/AI-powered-switches.iml
generated
6
.idea/AI-powered-switches.iml
generated
@ -1,10 +1,16 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<module type="PYTHON_MODULE" version="4">
|
<module type="PYTHON_MODULE" version="4">
|
||||||
|
<component name="FacetManager">
|
||||||
|
<facet type="Python" name="Python facet">
|
||||||
|
<configuration sdkName="Python 3.12" />
|
||||||
|
</facet>
|
||||||
|
</component>
|
||||||
<component name="NewModuleRootManager">
|
<component name="NewModuleRootManager">
|
||||||
<content url="file://$MODULE_DIR$">
|
<content url="file://$MODULE_DIR$">
|
||||||
<excludeFolder url="file://$MODULE_DIR$/.venv" />
|
<excludeFolder url="file://$MODULE_DIR$/.venv" />
|
||||||
</content>
|
</content>
|
||||||
<orderEntry type="jdk" jdkName="Python 3.13" jdkType="Python SDK" />
|
<orderEntry type="jdk" jdkName="Python 3.13" jdkType="Python SDK" />
|
||||||
<orderEntry type="sourceFolder" forTests="false" />
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
<orderEntry type="library" name="Python 3.12 interpreter library" level="application" />
|
||||||
</component>
|
</component>
|
||||||
</module>
|
</module>
|
11
src/backend/.envExample
Normal file
11
src/backend/.envExample
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# 硅基流动API配置
|
||||||
|
SILICONFLOW_API_KEY=sk-114514
|
||||||
|
SILICONFLOW_API_URL=https://api.siliconflow.ai/v1
|
||||||
|
|
||||||
|
# 交换机登录凭证
|
||||||
|
SWITCH_USERNAME=admin
|
||||||
|
SWITCH_PASSWORD=your_switch_password
|
||||||
|
SWITCH_TIMEOUT=10
|
||||||
|
|
||||||
|
# 应用设置
|
||||||
|
DEBUG=True
|
@ -1,3 +1,6 @@
|
|||||||
ignoredBuiltDependencies:
|
ignoredBuiltDependencies:
|
||||||
- core-js
|
- core-js
|
||||||
- core-js-pure
|
- core-js-pure
|
||||||
|
|
||||||
|
packages:
|
||||||
|
- '.'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user