Skip to content

Commit

Permalink
Changing function names for zeroshot variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Robi9 committed Sep 21, 2023
1 parent 525000f commit e03139f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mailroom.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@ func NewMailroom(config *runtime.Config) *Mailroom {

// set authentication token for zeroshot requests in goflow
apiToken := mr.rt.Config.ZeroshotAPIToken
routers.SetToken(apiToken)
routers.SetZeroshotToken(apiToken)

// set base url for zeroshot requests
baseURL := mr.rt.Config.ZeroshotAPIUrl
routers.SetAPIURL(baseURL)
routers.SetZeroshotAPIURL(baseURL)

return mr
}
Expand Down

0 comments on commit e03139f

Please sign in to comment.