From e03139f8a2d9edb2d027289ad9744460ebc55620 Mon Sep 17 00:00:00 2001 From: Robi9 Date: Thu, 21 Sep 2023 12:04:32 -0300 Subject: [PATCH] Changing function names for zeroshot variables --- mailroom.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mailroom.go b/mailroom.go index 901d54229..9d27761cc 100644 --- a/mailroom.go +++ b/mailroom.go @@ -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 }