Skip to content

Commit bf074a6

Browse files
committed
add an api description
1 parent 1b66817 commit bf074a6

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

lib/httpapi/server.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ func NewServer(ctx context.Context, agentType mf.AgentType, process *termexec.Pr
4949
})
5050
router.Use(corsMiddleware.Handler)
5151

52-
api := humachi.New(router, huma.DefaultConfig("AgentAPI API", "0.1.0"))
52+
humaConfig := huma.DefaultConfig("AgentAPI", "0.1.0")
53+
humaConfig.Info.Description = "HTTP API for Claude Code, Goose, and Aider.\n\nhttps://github.com/coder/agentapi"
54+
api := humachi.New(router, humaConfig)
5355
formatMessage := func(message string, userInput string) string {
5456
return mf.FormatAgentMessage(agentType, message, userInput)
5557
}

0 commit comments

Comments
 (0)