- Backend: Introduced new endpoints for LLM configuration retrieval and updates in `config.py`, allowing dynamic management of LLM provider settings. - Updated schemas to include `AlphaEngineConfig` for better integration with the new provider. - Frontend: Added state management for AlphaEngine API credentials in the configuration page, ensuring seamless user experience. - Configuration files updated to reflect changes in LLM provider settings and API keys. BREAKING CHANGE: The default LLM provider has been changed from `new_api` to `alpha_engine`, requiring updates to existing configurations.
40 lines
1007 B
JSON
40 lines
1007 B
JSON
{
|
|
"llm": {
|
|
"provider": "alpha_engine",
|
|
"gemini": {
|
|
"base_url": "",
|
|
"api_key": "YOUR_GEMINI_API_KEY"
|
|
},
|
|
"new_api": {
|
|
"base_url": "http://192.168.3.214:3000/v1",
|
|
"api_key": "sk-DdTTQ5fdU1aFW6gnYxSNYDgFsVQg938zUcmY4vaB7oPtcNs7"
|
|
},
|
|
"alpha_engine": {
|
|
"api_url": "http://api-ai-prod.valuesimplex.tech",
|
|
"api_key": "api@shangjian!",
|
|
"token": "9b5c0b6a5e1e4e8fioouiouqiuioasaz",
|
|
"user_id": 999041,
|
|
"model": "deepseek-r1",
|
|
"using_indicator": true,
|
|
"start_time": "2024-01-01",
|
|
"doc_show_type": [
|
|
"A001",
|
|
"A002",
|
|
"A003",
|
|
"A004"
|
|
],
|
|
"simple_tracking": true
|
|
}
|
|
},
|
|
"data_sources": {
|
|
"tushare": {
|
|
"api_key": "f62b415de0a5a947fcb693b66cd299dd6242868bf04ad687800c7f3f"
|
|
},
|
|
"finnhub": {
|
|
"api_key": "d3fjs5pr01qolkndil0gd3fjs5pr01qolkndil10"
|
|
}
|
|
},
|
|
"database": {
|
|
"url": "postgresql+asyncpg://value:Value609!@192.168.3.195:5432/fundamental"
|
|
}
|
|
} |