From 203439b5641eff9c378f0f041c4a71a0931c81b9 Mon Sep 17 00:00:00 2001 From: fuzhongyun <15339891972@163.com> Date: Fri, 14 Nov 2025 15:59:15 +0800 Subject: [PATCH] fix --- internal/pkg/dingtalk_notable/client.go | 2 +- internal/pkg/provider_set.go | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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, )