Skip to content

Commit

Permalink
#29: init logging
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrueger12 committed Dec 27, 2023
1 parent 80a28c9 commit 8cbe50e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/providers/openai/chat.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
"errors"
"fmt"
"io"
"log/slog"
"net/http"
"reflect"
"strings"
Expand Down Expand Up @@ -105,8 +104,6 @@ func (c *ProviderClient) Chat(u *providers.UnifiedAPIData) (*ChatResponse, error

// Send the chat request

slog.Info("sending chat request")

resp, err := c.CreateChatResponse(context.Background(), chatRequest, u)

return resp, err
Expand Down Expand Up @@ -233,7 +230,6 @@ func (c *ProviderClient) createChatHTTP(payload *ChatRequest, u *providers.Unifi
}

func buildURL(suffix string) string {
slog.Info("request url: " + fmt.Sprintf("%s%s", defaultBaseURL, suffix))

// open ai implement:
return fmt.Sprintf("%s%s", defaultBaseURL, suffix)
Expand Down

0 comments on commit 8cbe50e

Please sign in to comment.