Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.
Go agentagenticaichatbotdsh-pluginembeddingsevaluationgenerative-aigolangknowledge-basellmmulti-tenantollamaopenaiquestion-answeringragrerankingsemantic-searchvector-searchwiki
fix(types): use correct GORM tag separator in Message.KnowledgeReferences
[email protected]e28959505452
diff --git a/internal/types/message.go b/internal/types/message.goindex 89dd10285..c352b267e 100644--- a/internal/types/message.go+++ b/internal/types/message.go@@ -213,7 +213,7 @@ type Message struct {// Message role: "user", "assistant", "system"Role string `json:"role"`// References to knowledge chunks used in the response- KnowledgeReferences References `json:"knowledge_references" gorm:"type:json,column:knowledge_references"`+ KnowledgeReferences References `json:"knowledge_references" gorm:"type:json;column:knowledge_references"`// Agent execution steps (only for assistant messages generated by agent)// This contains the detailed reasoning process and tool calls made by the agent// Stored for user history display, but NOT included in LLM context to avoid redundancy