refactor: update function signatures to include context and improve file handling #1599
This commit is contained in:
1 parent
215546a805
commit
77b100ba2b
18 files changed
+105
-52
No files matched your search
@@ -32,9 +32,10 @@ type TokenCountMeta struct {
|
||||
|
||||
type FileMeta struct {
|
||||
FileType
|
||||
MimeType string
|
||||
Data string
|
||||
Detail string
|
||||
MimeType string
|
||||
OriginData string // url or base64 data
|
||||
Detail string
|
||||
ParsedData *LocalFileData
|
||||
}
|
||||
|
||||
type RequestMeta struct {
|
||||
|
||||
Reference in new issue
Block a user