mirror of
https://gh-proxy.org/https://github.com/klinsmaya/new-api.git
synced 2026-11-09 18:07:04 +08:00
- Add file data DTO for structured file handling - Implement file decoder service - Update Claude and Gemini relay channels to handle various file types - Reorganize worker service to cf_worker for clarity - Update token counter and image service for new file types
9 lines
118 B
Go
9 lines
118 B
Go
package dto
|
|
|
|
type LocalFileData struct {
|
|
MimeType string
|
|
Base64Data string
|
|
Url string
|
|
Size int64
|
|
}
|