Skip to content

Commit

Permalink
move voicebot example to own repo
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianliechti committed Oct 7, 2024
1 parent 6dffa1e commit 244c74a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 308 deletions.
306 changes: 0 additions & 306 deletions examples/local-voicebot/main.go

This file was deleted.

4 changes: 2 additions & 2 deletions pkg/provider/openai/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ func convertError(err error) error {
var apierr *openai.Error

if errors.As(err, &apierr) {
println(string(apierr.DumpRequest(true))) // Prints the serialized HTTP request
println(string(apierr.DumpResponse(true))) // Prints the serialized HTTP response
//println(string(apierr.DumpRequest(true))) // Prints the serialized HTTP request
//println(string(apierr.DumpResponse(true))) // Prints the serialized HTTP response
}

return err
Expand Down

0 comments on commit 244c74a

Please sign in to comment.