Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(tools): support Tool calls in the API #1715

Merged
merged 9 commits into from
Feb 17, 2024
6 changes: 5 additions & 1 deletion api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,11 @@ func App(opts ...options.AppOption) (*fiber.App, error) {
}

// Default middleware config
app.Use(recover.New())

if !options.Debug {
app.Use(recover.New())
}

if options.Metrics != nil {
app.Use(metrics.APIMiddleware(options.Metrics))
}
Expand Down
Loading
Loading