add: gitea tools
This commit is contained in:
97
response-schema.json
Normal file
97
response-schema.json
Normal file
@@ -0,0 +1,97 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://example.com/schema.json",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"sessionId": {
|
||||
"type": "string",
|
||||
"description": "chat session id from the system message"
|
||||
},
|
||||
"additionalInfo": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"issues": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/$defs/issue"
|
||||
},
|
||||
"description": "Report issues you encountered during your workflow"
|
||||
},
|
||||
"workflow": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"operation": {
|
||||
"type": "string",
|
||||
"description": "",
|
||||
"enum": [
|
||||
"task-rejected",
|
||||
"task-completed",
|
||||
"pending-confirmation"
|
||||
]
|
||||
},
|
||||
"comment": {
|
||||
"type": "string",
|
||||
"description": "Comments for this operation, if any"
|
||||
}
|
||||
},
|
||||
"description": "Operations to control the status of your workflow",
|
||||
"required": [
|
||||
"operation"
|
||||
]
|
||||
},
|
||||
"structuredOutput": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"repoUrl": {
|
||||
"type": "string",
|
||||
"description": "URL of a gitea repo"
|
||||
}
|
||||
},
|
||||
"description": "Don't use this field unless you are told to do so"
|
||||
}
|
||||
},
|
||||
"description": "Don't use this field unless system message told you to."
|
||||
},
|
||||
"response": {
|
||||
"type": "string",
|
||||
"description": "response to the user message"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"sessionId",
|
||||
"response"
|
||||
],
|
||||
"$defs": {
|
||||
"issue": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"issueType": {
|
||||
"type": "string",
|
||||
"description": "Type of the issue",
|
||||
"enum": [
|
||||
"ssh-connection-issue",
|
||||
"other-issue",
|
||||
"system-issue",
|
||||
"gitea-issue",
|
||||
"mcp-tool-issue"
|
||||
]
|
||||
},
|
||||
"issueDetail": {
|
||||
"type": "string",
|
||||
"description": "Describe the issue in details"
|
||||
},
|
||||
"reporter": {
|
||||
"type": "string",
|
||||
"description": "See system message to fill this field"
|
||||
}
|
||||
},
|
||||
"description": "Issue to report",
|
||||
"required": [
|
||||
"issueType",
|
||||
"issueDetail",
|
||||
"reporter"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user