(allTools []fantasy.AgentTool)
| 6492 | } |
| 6493 | |
| 6494 | func allToolNames(allTools []fantasy.AgentTool) []string { |
| 6495 | toolNames := make([]string, 0, len(allTools)) |
| 6496 | for _, tool := range allTools { |
| 6497 | toolNames = append(toolNames, tool.Info().Name) |
| 6498 | } |
| 6499 | return toolNames |
| 6500 | } |
| 6501 | |
| 6502 | func isExploreSubagentMode(mode database.NullChatMode) bool { |
| 6503 | return mode.Valid && mode.ChatMode == database.ChatModeExplore |
no test coverage detected