fix
This commit is contained in:
parent
cdba45f348
commit
203439b564
|
|
@ -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),
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue