Skip to content

Commit 782236e

Browse files
authored
Merge pull request #39 from yokowu/main
feat: 记录任务的所有问答
2 parents 95c1832 + 7426de7 commit 782236e

34 files changed

+1095
-372
lines changed

backend/consts/openai.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,10 @@ const (
66
ConfigTypeContinue ConfigType = "continue"
77
ConfigTypeRooCode ConfigType = "roo-code"
88
)
9+
10+
type ChatRole string
11+
12+
const (
13+
ChatRoleUser ChatRole = "user"
14+
ChatRoleAssistant ChatRole = "assistant"
15+
)

backend/db/client.go

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

backend/db/migrate/schema.go

Lines changed: 6 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)