feat: enhance tooling management with static and dynamic tool code handling

This commit is contained in:
mlogclub
2026-04-11 22:50:35 +08:00
parent e6d0fa2ba2
commit be17807152
4 changed files with 102 additions and 7 deletions
@@ -58,6 +58,9 @@ type RuntimeTraceData struct {
HistoryMessageCount int `json:"historyMessageCount,omitempty"`
KnowledgeBaseIDs []int64 `json:"knowledgeBaseIds,omitempty"`
ToolCodes []string `json:"toolCodes,omitempty"`
StaticToolCodes []string `json:"staticToolCodes,omitempty"`
DynamicToolCodes []string `json:"dynamicToolCodes,omitempty"`
ToolSearchEnabled bool `json:"toolSearchEnabled,omitempty"`
CurrentUserMessagePreview string `json:"currentUserMessagePreview,omitempty"`
} `json:"input"`
Retriever struct {