mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-09-10 22:20:25 +00:00
feat(task): replace built-in task adaptors with a sandboxed JS plugin system (#7076)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package types
|
||||
|
||||
// TaskArtifact is the transport-neutral identity of one generated task output.
|
||||
// relay/channel re-exports this type for adaptor compatibility.
|
||||
type TaskArtifact struct {
|
||||
Key string `json:"key"`
|
||||
Type string `json:"type"`
|
||||
MimeType string `json:"mimeType,omitempty"`
|
||||
}
|
||||
Reference in New Issue
Block a user