Skip to content

feat(spec): add message role #155

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion docs/spec/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ info:
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
version: 0.1.0
version: 0.2.0
externalDocs:
description: Comprehensive documentation for ACP
url: https://agentcommunicationprotocol.dev
Expand Down Expand Up @@ -285,8 +285,20 @@ components:
completed_at:
type: string
format: date-time
role:
description: |
Specifies the sender of the message. Allowed values are:
- `"user"` for messages sent by an end-user.
- Any other string indicating the specific name of the agent sending the message.
oneOf:
- type: string
enum: [user]
- type: string
description: Name of the agent.
example: summarizer_agent
required:
- parts
- role
AwaitRequest:
type: object
AwaitResume:
Expand Down