refactor(plugin): optimize plugin module code (#2247)

This commit is contained in:
Ryo
2025-09-24 15:45:25 +08:00
committed by GitHub
parent d18c6225b7
commit 7335c153fa
102 changed files with 3906 additions and 3566 deletions

View File

@ -22,7 +22,7 @@ import (
"github.com/coze-dev/coze-studio/backend/api/model/app/bot_common"
"github.com/coze-dev/coze-studio/backend/api/model/crossdomain/agentrun"
plugindto "github.com/coze-dev/coze-studio/backend/crossdomain/contract/plugin/dto"
"github.com/coze-dev/coze-studio/backend/crossdomain/contract/plugin/model"
crossworkflow "github.com/coze-dev/coze-studio/backend/crossdomain/contract/workflow"
)
@ -95,7 +95,7 @@ const (
)
type InterruptInfo struct {
AllToolInterruptData map[string]*plugindto.ToolInterruptEvent
AllToolInterruptData map[string]*model.ToolInterruptEvent
AllWfInterruptData map[string]*crossworkflow.ToolInterruptEvent
ToolCallID string
InterruptType InterruptEventType

View File

@ -6,6 +6,7 @@ import (
"database/sql"
"database/sql/driver"
"fmt"
"github.com/apache/thrift/lib/go/thrift"
)