chore: 更新 .gitignore 并删除旧计划文档
This commit is contained in:
@@ -2,7 +2,7 @@ package entity
|
||||
|
||||
import "gitea.redpowerfuture.com/red-future/common/beans"
|
||||
|
||||
type errorMemoryCol struct {
|
||||
type modelErrorMemoryCol struct {
|
||||
beans.SQLBaseCol
|
||||
MemoryKey string
|
||||
Upstream string
|
||||
@@ -13,7 +13,7 @@ type errorMemoryCol struct {
|
||||
AnalyzedBy string
|
||||
}
|
||||
|
||||
var ErrorMemoryCol = errorMemoryCol{
|
||||
var ModelErrorMemoryCol = modelErrorMemoryCol{
|
||||
SQLBaseCol: beans.DefSQLBaseCol,
|
||||
MemoryKey: "memory_key",
|
||||
Upstream: "upstream",
|
||||
@@ -24,8 +24,8 @@ var ErrorMemoryCol = errorMemoryCol{
|
||||
AnalyzedBy: "analyzed_by",
|
||||
}
|
||||
|
||||
// ErrorMemory 错误重试记忆(LLM 分析结论持久化,永久有效)
|
||||
type ErrorMemory struct {
|
||||
// ModelErrorMemory 错误重试记忆(LLM 分析结论持久化,永久有效)
|
||||
type ModelErrorMemory struct {
|
||||
beans.SQLBaseDO `orm:",inline"`
|
||||
MemoryKey string `orm:"memory_key" json:"memoryKey" dc:"记忆键=SHA-256(upstream|code|归一化消息)"`
|
||||
Upstream string `orm:"upstream" json:"upstream" dc:"失败上游BaseURL"`
|
||||
@@ -49,6 +49,6 @@ type ModelTaskStart struct {
|
||||
OriginalResponseParams map[string]any `orm:"original_response_params" json:"originalResponseParams" dc:"原始响应结果"`
|
||||
DurationSeconds int64 `orm:"duration_seconds" json:"durationSeconds" dc:"耗时(秒)"`
|
||||
TaskId string `orm:"task_id" json:"taskId" dc:"任务ID"`
|
||||
MediaType string `orm:"media_type" json:"mediaType" dc:"输入媒体类型快照(audio/no_video/has_video,创建任务时按请求体推导)"`
|
||||
MediaType string `orm:"media_type" json:"mediaType" dc:"输入媒体类型快照(audio/video,空=无媒体引用;shop 计费词汇,创建任务时按请求体推导)"`
|
||||
ErrorMsg string `orm:"error_msg" json:"errorMsg" dc:"错误消息"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user