We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b66817 commit bf074a6Copy full SHA for bf074a6
1 file changed
lib/httpapi/server.go
@@ -49,7 +49,9 @@ func NewServer(ctx context.Context, agentType mf.AgentType, process *termexec.Pr
49
})
50
router.Use(corsMiddleware.Handler)
51
52
- api := humachi.New(router, huma.DefaultConfig("AgentAPI API", "0.1.0"))
+ 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)
55
formatMessage := func(message string, userInput string) string {
56
return mf.FormatAgentMessage(agentType, message, userInput)
57
}
0 commit comments