feat(dingtalk): support image questions with vision models
This commit is contained in:
@@ -4,6 +4,7 @@ import (
|
||||
"context"
|
||||
"io"
|
||||
|
||||
"github.com/Tencent/WeKnora/internal/types"
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
@@ -64,6 +65,10 @@ type IncomingMessage struct {
|
||||
FileName string
|
||||
// FileSize is the file size in bytes (for file messages, optional).
|
||||
FileSize int64
|
||||
// ImageURLs carries transient model-ready image inputs (usually data URIs). Never log these values.
|
||||
ImageURLs []string
|
||||
// ImageReferences carries durable, non-secret source references persisted on the user message.
|
||||
ImageReferences types.MessageImages
|
||||
// ThreadID is the platform-specific thread identifier.
|
||||
// - Slack: thread_ts (top-level message uses its own timestamp)
|
||||
// - Mattermost: root_id, or post_id if top-level
|
||||
|
||||
Reference in New Issue
Block a user