diff --git a/internal/pkg/dingtalk_notable/client.go b/internal/pkg/dingtalk_notable/client.go index 5de0008..6abb243 100644 --- a/internal/pkg/dingtalk_notable/client.go +++ b/internal/pkg/dingtalk_notable/client.go @@ -15,7 +15,7 @@ type Client struct { cli *notable.Client } -func NewnotableClient(config *config.Config) (*Client, error) { +func NewNotableClient(config *config.Config) (*Client, error) { cfg := &openapi.Config{ AccessKeyId: tea.String(config.Tools.DingTalkBot.APIKey), AccessKeySecret: tea.String(config.Tools.DingTalkBot.APISecret), diff --git a/internal/pkg/provider_set.go b/internal/pkg/provider_set.go index 29bca2c..a4d6b64 100644 --- a/internal/pkg/provider_set.go +++ b/internal/pkg/provider_set.go @@ -3,6 +3,7 @@ package pkg import ( "ai_scheduler/internal/pkg/dingtalk" "ai_scheduler/internal/pkg/dingtalk_contact" + "ai_scheduler/internal/pkg/dingtalk_notable" "ai_scheduler/internal/pkg/utils_langchain" "ai_scheduler/internal/pkg/utils_ollama" @@ -17,4 +18,5 @@ var ProviderSetClient = wire.NewSet( NewSafeChannelPool, dingtalk.NewDingTalkClient, dingtalk_contact.NewContactClient, + dingtalk_notable.NewNotableClient, )