This commit is contained in:
renzhiyuan 2025-07-21 16:19:46 +08:00
parent b1ded87cb1
commit 26a0ee7b2e
2 changed files with 2 additions and 2 deletions

2
ai.go
View File

@ -3,8 +3,8 @@ package l_ai_excel_header_match
import (
"context"
"encoding/json"
"gitea.cdlsxd.cn/self-tools/l_ai_excel_header_match/doubao"
"gitea.cdlsxd.cn/self-tools/l_ai_address/ai/doubao"
"strings"
)

View File

@ -20,7 +20,7 @@ func NewDouBao(modelName string, key string) *DouBao {
}
}
func (o *DouBao) GetData(ctx context.Context, respHandle func(input string) (string, error), text ...string) (string, error) {
func (o *DouBao) GetData(ctx context.Context, url UrlType, respHandle func(input string) (string, error), text ...string) (string, error) {
var Message = make([]*model.ChatCompletionMessage, len(text))
client := arkruntime.NewClientWithApiKey(