Skip to content

Commit

Permalink
Fixed issues after merge of main
Browse files Browse the repository at this point in the history
  • Loading branch information
dysrama committed Feb 27, 2025
1 parent 306bd00 commit 5f211f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion go/genkit/chat_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ type HelloPromptInput struct {
Name string
}

var chatGenkit, _ = New(nil)
var chatGenkit, _ = Init(context.Background())
var chatModel = getChatModel(chatGenkit)
var chatTool = getNameTool(chatGenkit)
var chatPrompt = getChatPrompt(chatGenkit)
Expand Down
2 changes: 1 addition & 1 deletion go/samples/chat/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (

func main() {
ctx := context.Background()
g, err := genkit.New(nil)
g, err := genkit.Init(ctx)
if err != nil {
log.Fatal(err)
}
Expand Down

0 comments on commit 5f211f9

Please sign in to comment.