Skip to content

Commit 14c1bab

Browse files
committed
remove unnecessary comments
Signed-off-by: Akihiko Kuroda <[email protected]>
1 parent 970b8bb commit 14c1bab

File tree

3 files changed

+1
-24
lines changed

3 files changed

+1
-24
lines changed

internal/commands/create.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,6 @@ func (c *CreateCommand) createAgentsFromYAML(agentsYaml []common.YAMLDocument) e
8383
// For now, we'll just print a message
8484
c.Console().Ok("Creating agents from YAML configuration")
8585

86-
// TODO: Implement the actual agent creation logic
87-
// This would involve:
88-
// 1. Parsing the agent definitions
89-
// 2. Creating the agent instances
90-
// 3. Registering them with the system
91-
9286
// Get MCP server URI
9387
// serverURI, _ := common.GetMCPServerURI(mcpServerURI)
9488
serverURI, err := common.GetMCPServerURI("")

internal/commands/meta_agents.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,5 @@ func (c *MetaAgentsCommand) runMetaAgents() error {
7979
return fmt.Errorf("failed to start meta-agents: %w", err)
8080
}
8181

82-
// Store the process ID for later cleanup
83-
// TODO: Store the process ID somewhere for the clean command to use
84-
8582
return nil
8683
}

internal/commands/run.go

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -184,11 +184,6 @@ func (c *RunCommand) Run() error {
184184

185185
// Extract output from the result
186186
output := result["result"].(*common.MCPResponse)
187-
// TODO: Extract output from the workflow result
188-
// This would involve:
189-
// 1. Getting the steps from the workflow
190-
// 2. Finding the last step that produced a result
191-
// 3. Using that result as the output
192187

193188
// Log the workflow run
194189
response := ""
@@ -209,7 +204,7 @@ func (c *RunCommand) Run() error {
209204
durationMs,
210205
)
211206

212-
return nil
207+
return response
213208
}
214209

215210
// setupLogger sets up the logger for the run command
@@ -305,14 +300,5 @@ func (c *RunCommand) runWorkflow(workflow common.YAMLDocument, agents []common.Y
305300

306301
// logWorkflowRun logs the workflow run
307302
func (c *RunCommand) logWorkflowRun(logger *common.Logger, workflowID, workflowName, prompt, output string, modelsUsed []string, status string, startTime, endTime time.Time, durationMs int) {
308-
// In the Python implementation, this calls logger.log_workflow_run()
309-
// We'll need to implement the equivalent functionality in Go
310-
311-
// For now, we'll just print a message
312303
c.Console().Ok(fmt.Sprintf("Workflow %s completed with status: %s", workflowID, status))
313-
314-
// TODO: Implement the actual logging logic
315-
// This would involve:
316-
// 1. Creating a log entry
317-
// 2. Writing it to the log file
318304
}

0 commit comments

Comments
 (0)