Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
data_report
/
daw
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 41e8f404
authored
Jul 10, 2026
by
test.jiangmy
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
chore: update 2026-07-10 10:55
1 parent
597b734c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
.env
tests/strategy_analysis_demo.py
.env
View file @
41e8f40
...
@@ -34,7 +34,7 @@ SOURCE_DB_NAME=dj_smartcarlife
...
@@ -34,7 +34,7 @@ SOURCE_DB_NAME=dj_smartcarlife
# QWEN_MODEL = LLM_QWEN_MODEL
# QWEN_MODEL = LLM_QWEN_MODEL
# ============================================================================
# ============================================================================
LLM_QWEN_MODEL=qwen3.7-plus
LLM_QWEN_MODEL=qwen3.7-plus
LLM_QWEN_API_KEY=sk-
107dd26bca184e39bd1744af7d634488
LLM_QWEN_API_KEY=sk-
ws-H.EMRRHMX.S4k3.MEUCIQDnkdAOI5V_gOXO0s4h0uj66P9Yp5DFxghgCCoLB0cxkAIgWbLaokBGxsQjlN90pivlsjwVBIRNIfCDVuyCW__6ldU
LLM_QWEN_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1
LLM_QWEN_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1
# ============================================================================
# ============================================================================
...
...
tests/strategy_analysis_demo.py
View file @
41e8f40
...
@@ -658,7 +658,7 @@ def build_analysis_context(
...
@@ -658,7 +658,7 @@ def build_analysis_context(
def
call_llm_for_report
(
context
:
str
,
model
:
str
=
"qwen3.7-plus"
)
->
str
:
def
call_llm_for_report
(
context
:
str
,
model
:
str
=
"qwen3.7-plus"
)
->
str
:
"""调用 Qwen LLM 生成分析报告"""
"""调用 Qwen LLM 生成分析报告"""
api_key
=
"sk-
107dd26bca184e39bd1744af7d634488
"
api_key
=
"sk-
ws-H.EMRRHMX.S4k3.MEUCIQDnkdAOI5V_gOXO0s4h0uj66P9Yp5DFxghgCCoLB0cxkAIgWbLaokBGxsQjlN90pivlsjwVBIRNIfCDVuyCW__6ldU
"
base_url
=
"https://dashscope.aliyuncs.com/compatible-mode/v1"
base_url
=
"https://dashscope.aliyuncs.com/compatible-mode/v1"
client
=
OpenAI
(
api_key
=
api_key
,
base_url
=
base_url
)
client
=
OpenAI
(
api_key
=
api_key
,
base_url
=
base_url
)
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment