Skip to content

Commit

Permalink
Fix API test
Browse files Browse the repository at this point in the history
Related #28
  • Loading branch information
otiai10 committed Sep 11, 2023
1 parent 8661b0c commit 1097caf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testapp/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ var (
funcs := fc.Funcs{
"GetDate": fc.Func{GetDate, "A function to get date today", fc.Params{}},
"GetWeather": fc.Func{GetWeather, "A function to get weather information", fc.Params{
{"location", "string", "location of the wather", true},
{"date", "integer", "date MMDD as number", true},
{"location", "string", "location of the wather", true, nil},
{"date", "integer", "date MMDD as number", true, nil},
}},
}
client := openaigo.NewClient(OPENAI_API_KEY)
Expand Down

0 comments on commit 1097caf

Please sign in to comment.