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
style(client): gofmt message.go
wizardchenb191201f445b
diff --git a/client/message.go b/client/message.goindex b0a7df8d9..a00ca702b 100644--- a/client/message.go+++ b/client/message.go@@ -14,10 +14,10 @@ import (// ToolResult represents the result of a tool executiontype ToolResult struct {- Success bool `json:"success"` // Whether the tool executed successfully- Output string `json:"output"` // Human-readable output- Data map[string]interface{} `json:"data,omitempty"` // Structured data for programmatic use- Error string `json:"error,omitempty"` // Error message if execution failed+ Success bool `json:"success"` // Whether the tool executed successfully+ Output string `json:"output"` // Human-readable output+ Data map[string]interface{} `json:"data,omitempty"` // Structured data for programmatic use+ Error string `json:"error,omitempty"` // Error message if execution failedImages []string `json:"images,omitempty"` // Base64 data URIs from tool (e.g. MCP image content)}@@ -145,14 +145,14 @@ type SearchMessagesRequest struct {// MessageSearchGroupItem represents a grouped search result itemtype MessageSearchGroupItem struct {- RequestID string `json:"request_id"`- SessionID string `json:"session_id"`- SessionTitle string `json:"session_title"`- QueryContent string `json:"query_content"`- AnswerContent string `json:"answer_content"`- Score float64 `json:"score"`- MatchType string `json:"match_type"`- CreatedAt time.Time `json:"created_at"`+ RequestID string `json:"request_id"`+ SessionID string `json:"session_id"`+ SessionTitle string `json:"session_title"`+ QueryContent string `json:"query_content"`+ AnswerContent string `json:"answer_content"`+ Score float64 `json:"score"`+ MatchType string `json:"match_type"`+ CreatedAt time.Time `json:"created_at"`}// MessageSearchResult represents the result of a message search