mirror of
https://github.com/ZhuLinsen/daily_stock_analysis
synced 2026-09-20 10:53:33 +08:00
fix(agent): include framework category in skill rendering + Docker strategies missing (#406)
* fix(agent): include framework category in skill instructions rendering `get_skill_instructions()` only iterated over ["trend", "pattern", "reversal"] categories, silently dropping all strategies with `category: framework` (box_oscillation, chan_theory, wave_theory, emotion_cycle). Add "framework" to the category map and use a dynamic fallback so future custom categories are never lost. Also: - Document `AGENT_SKILLS=all` shorthand in .env.example - Add `AGENT_SKILLS` config to README - Add CHANGELOG entry - Update strategies/README.md and Skill docstring with framework category Fixes #403 * fix(docker): include strategies directory in Docker image and compose Dockerfile was missing `COPY strategies/ ./strategies/`, and docker-compose.yml did not mount the strategies directory, causing all 11 built-in strategies to fail loading in containerized deployments. --------- Co-authored-by: ma_k <ma_k@ctrip.com>
This commit is contained in:
@@ -26,7 +26,7 @@ name: my_strategy
|
||||
display_name: 我的策略
|
||||
description: 简短描述策略适用的市场场景
|
||||
|
||||
# 策略分类:trend(趋势)、pattern(形态)、reversal(反转)
|
||||
# 策略分类:trend(趋势)、pattern(形态)、reversal(反转)、framework(框架)
|
||||
category: trend
|
||||
|
||||
# 关联的核心交易理念编号(1-7),可选
|
||||
|
||||
Reference in New Issue
Block a user