Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit562d075

Browse files
committed
fix struct tags
1 parentb7830b0 commit562d075

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎codersdk/aitasks.go‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,8 @@ const (
263263
typeTaskLogEntrystruct {
264264
IDint`json:"id"`
265265
Contentstring`json:"content"`
266-
TypeTaskLogType`json:"type"`// maps from agentapi role
267-
Time time.Time`json:"time"`
266+
TypeTaskLogType`json:"type" enum:"input,output"`
267+
Time time.Time`json:"time" format:"date-time"`
268268
}
269269

270270
// TaskLogsResponse contains the logs for a task.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp