Merge branch 'v2'

This commit is contained in:
fuzhongyun 2025-11-14 15:59:32 +08:00
commit 641bd13fb0
2 changed files with 3 additions and 1 deletions

View File

@ -15,7 +15,7 @@ type Client struct {
cli *notable.Client cli *notable.Client
} }
func NewnotableClient(config *config.Config) (*Client, error) { func NewNotableClient(config *config.Config) (*Client, error) {
cfg := &openapi.Config{ cfg := &openapi.Config{
AccessKeyId: tea.String(config.Tools.DingTalkBot.APIKey), AccessKeyId: tea.String(config.Tools.DingTalkBot.APIKey),
AccessKeySecret: tea.String(config.Tools.DingTalkBot.APISecret), AccessKeySecret: tea.String(config.Tools.DingTalkBot.APISecret),

View File

@ -3,6 +3,7 @@ package pkg
import ( import (
"ai_scheduler/internal/pkg/dingtalk" "ai_scheduler/internal/pkg/dingtalk"
"ai_scheduler/internal/pkg/dingtalk_contact" "ai_scheduler/internal/pkg/dingtalk_contact"
"ai_scheduler/internal/pkg/dingtalk_notable"
"ai_scheduler/internal/pkg/utils_langchain" "ai_scheduler/internal/pkg/utils_langchain"
"ai_scheduler/internal/pkg/utils_ollama" "ai_scheduler/internal/pkg/utils_ollama"
@ -17,4 +18,5 @@ var ProviderSetClient = wire.NewSet(
NewSafeChannelPool, NewSafeChannelPool,
dingtalk.NewDingTalkClient, dingtalk.NewDingTalkClient,
dingtalk_contact.NewContactClient, dingtalk_contact.NewContactClient,
dingtalk_notable.NewNotableClient,
) )