Skip to content

Commit efcc8ce

Browse files
committed
update docs
1 parent 6427e70 commit efcc8ce

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

lib/httpapi/events.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func (a AgentStatus) Schema(r huma.Registry) *huma.Schema {
3939
type MessageUpdateBody struct {
4040
Id int `json:"id" doc:"Unique identifier for the message. This identifier also represents the order of the message in the conversation history."`
4141
Role st.ConversationRole `json:"role" doc:"Role of the message author"`
42-
Message string `json:"message" doc:"Message content. The message is formatted as it appears in the agent's terminal session, meaning it consists of lines of text with 80 characters per line."`
42+
Message string `json:"message" doc:"Message content. The message is formatted as it appears in the agent's terminal session, meaning that, by default, it consists of lines of text with 80 characters per line."`
4343
Time time.Time `json:"time" doc:"Timestamp of the message"`
4444
}
4545

lib/httpapi/models.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ func (m MessageType) Schema(r huma.Registry) *huma.Schema {
2727
// Message represents a message
2828
type Message struct {
2929
Id int `json:"id" doc:"Unique identifier for the message. This identifier also represents the order of the message in the conversation history."`
30-
Content string `json:"content" example:"Hello world" doc:"Message content. The message is formatted as it appears in the agent's terminal session, meaning it consists of lines of text with 80 characters per line."`
30+
Content string `json:"content" example:"Hello world" doc:"Message content. The message is formatted as it appears in the agent's terminal session, meaning that, by default, it consists of lines of text with 80 characters per line."`
3131
Role st.ConversationRole `json:"role" doc:"Role of the message author"`
3232
Time time.Time `json:"time" doc:"Timestamp of the message"`
3333
}

openapi.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
"additionalProperties": false,
109109
"properties": {
110110
"content": {
111-
"description": "Message content. The message is formatted as it appears in the agent's terminal session, meaning it consists of lines of text with 80 characters per line.",
111+
"description": "Message content. The message is formatted as it appears in the agent's terminal session, meaning that, by default, it consists of lines of text with 80 characters per line.",
112112
"examples": [
113113
"Hello world"
114114
],
@@ -209,7 +209,7 @@
209209
"type": "integer"
210210
},
211211
"message": {
212-
"description": "Message content. The message is formatted as it appears in the agent's terminal session, meaning it consists of lines of text with 80 characters per line.",
212+
"description": "Message content. The message is formatted as it appears in the agent's terminal session, meaning that, by default, it consists of lines of text with 80 characters per line.",
213213
"type": "string"
214214
},
215215
"role": {

0 commit comments

Comments
 (0)