mirror of
https://github.com/docker/docker-agent.git
synced 2026-11-04 10:02:15 +00:00
feat: add tags field to agent config metadata
Assisted-By: docker-agent
This commit is contained in:
3 files changed
+17
-5
No files matched your search
@@ -1684,6 +1684,13 @@
|
||||
"version": {
|
||||
"type": "string",
|
||||
"description": "Version of the agent configuration (used for OCI registry publishing)"
|
||||
},
|
||||
"tags": {
|
||||
"type": "array",
|
||||
"description": "Tags describing the agent configuration (e.g. for categorization and discovery)",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
|
||||
@@ -4,6 +4,10 @@ metadata:
|
||||
It defines an agent that repeats back exactly what the user says, without any modifications or additional commentary.
|
||||
|
||||
For example, run it with `echo "TEST" | docker agent run echo-agent.yaml -`
|
||||
tags:
|
||||
- example
|
||||
- echo
|
||||
- demo
|
||||
|
||||
agents:
|
||||
root:
|
||||
|
||||
@@ -1147,11 +1147,12 @@ type RoutingRule struct {
|
||||
}
|
||||
|
||||
type Metadata struct {
|
||||
Author string `json:"author,omitempty"`
|
||||
License string `json:"license,omitempty"`
|
||||
Description string `json:"description,omitempty"`
|
||||
Readme string `json:"readme,omitempty"`
|
||||
Version string `json:"version,omitempty"`
|
||||
Author string `json:"author,omitempty"`
|
||||
License string `json:"license,omitempty"`
|
||||
Description string `json:"description,omitempty"`
|
||||
Readme string `json:"readme,omitempty"`
|
||||
Version string `json:"version,omitempty"`
|
||||
Tags []string `json:"tags,omitempty"`
|
||||
}
|
||||
|
||||
// Commands represents a set of named prompts for quick-starting conversations.
|
||||
|
||||
Reference in new issue
Block a user