mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-15 08:46:58 +08:00
feat: add system_prompt_template to GetTraderConfig response
This commit is contained in:
@@ -889,6 +889,7 @@ func (s *Server) handleGetTraderConfig(c *gin.Context) {
|
|||||||
"trading_symbols": traderConfig.TradingSymbols,
|
"trading_symbols": traderConfig.TradingSymbols,
|
||||||
"custom_prompt": traderConfig.CustomPrompt,
|
"custom_prompt": traderConfig.CustomPrompt,
|
||||||
"override_base_prompt": traderConfig.OverrideBasePrompt,
|
"override_base_prompt": traderConfig.OverrideBasePrompt,
|
||||||
|
"system_prompt_template": traderConfig.SystemPromptTemplate,
|
||||||
"is_cross_margin": traderConfig.IsCrossMargin,
|
"is_cross_margin": traderConfig.IsCrossMargin,
|
||||||
"use_coin_pool": traderConfig.UseCoinPool,
|
"use_coin_pool": traderConfig.UseCoinPool,
|
||||||
"use_oi_top": traderConfig.UseOITop,
|
"use_oi_top": traderConfig.UseOITop,
|
||||||
|
|||||||
Reference in New Issue
Block a user