Skip to content

Commit

Permalink
#29: clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrueger12 committed Dec 26, 2023
1 parent 597381c commit 6023254
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 9 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@ glide
tmp
coverage.txt
precommit.txt
openai_test.go
pkg/providers/openai/openai_test.go
/Users/max/code/Glide/pkg/providers/openai/openai_test.go
2 changes: 1 addition & 1 deletion pkg/providers/openai/chat.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func (c *ProviderClient) CreateChatRequest(unifiedData providers.UnifiedAPIData)
// Add msg variable last
messages = append(messages, unifiedData.Message)

// iterate through self.Provider.DefaultParams and add them to the request otherwise leave the default value
// iterate throughunifiedData.Params and add them to the request otherwise leave the default value

chatRequest := &ChatRequest{
Model: c.setModel(),
Expand Down
2 changes: 0 additions & 2 deletions pkg/providers/openai/openaiclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ import (

const (
providerName = "openai"
providerVarPath = "/Users/max/code/Glide/pkg/providers/providerVars.yaml"
configPath = "/Users/max/code/Glide/config.yaml"
defaultBaseURL = "https://api.openai.com/v1"
)

Expand Down
4 changes: 0 additions & 4 deletions pkg/providers/providerVars.yaml

This file was deleted.

0 comments on commit 6023254

Please sign in to comment.