Skip to content

Commit 9abe5dc

Browse files
committed
feat: metadata 上报
1 parent 37ecd66 commit 9abe5dc

File tree

30 files changed

+1225
-30
lines changed

30 files changed

+1225
-30
lines changed

backend/consts/openai.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ type ChatRole string
1212
const (
1313
ChatRoleUser ChatRole = "user"
1414
ChatRoleAssistant ChatRole = "assistant"
15+
ChatRoleSystem ChatRole = "system"
1516
)

backend/consts/proxy.go

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
package consts
2+
3+
type ReportAction string
4+
5+
const (
6+
ReportActionAccept ReportAction = "accept"
7+
ReportActionSuggest ReportAction = "suggest"
8+
ReportActionFileWritten ReportAction = "file_written"
9+
)

backend/db/migrate/schema.go

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

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy