MCPcopy Index your code
hub / github.com/coder/coder / GetChatFileMetadataByChatID

Method GetChatFileMetadataByChatID

coderd/database/querier.go:382–382  ·  view source on GitHub ↗

GetChatFileMetadataByChatID returns lightweight file metadata for all files linked to a chat. The data column is excluded to avoid loading file content.

(ctx context.Context, chatID uuid.UUID)

Source from the content-addressed store, hash-verified

380 // all files linked to a chat. The data column is excluded to avoid
381 // loading file content.
382 GetChatFileMetadataByChatID(ctx context.Context, chatID uuid.UUID) ([]GetChatFileMetadataByChatIDRow, error)
383 GetChatFilesByIDs(ctx context.Context, ids []uuid.UUID) ([]ChatFile, error)
384 GetChatGeneralModelOverride(ctx context.Context) (string, error)
385 // GetChatIncludeDefaultSystemPrompt preserves the legacy default

Implementers 5

sqlQueriercoderd/database/db.go
queryMetricsStorecoderd/database/dbmetrics/querymetrics
queriercoderd/database/dbauthz/dbauthz.go
MockStorecoderd/database/dbmock/dbmock.go
MockStoreMockRecordercoderd/database/dbmock/dbmock.go

Calls

no outgoing calls