Versions in this module Expand all Collapse all v1 v1.154.0 Oct 28, 2026 v1.153.0 Oct 27, 2026 Changes in this version + const FallbackDisplayName + const FallbackMimeType + const MaxWarningBytes + const RetryWithDebugAdvice + var ErrGeneratedFileUnavailable = errors.New("generated file unavailable") + func ApplyUserPromptRequestedPath(media []chat.MediaDelta, prompt string) + func ExtractExplicitOutputFilename(prompt string) (string, bool) + func SanitizeMimeType(mimeType string) string + func SaveFailureReason(err error) string + type GeneratedFileRef struct + OwnerSessionID string + Path string + Root chat.ArtifactRootKind + type ResolvedGeneratedFile struct + Data []byte + Path string + type Service struct + Now func() time.Time + Store session.Store + Write func(string, string, []byte, string) (workspacemedia.Result, error) + func (r *Service) Materialize(ctx context.Context, sess *session.Session, media []chat.MediaDelta, ...) []chat.MessagePart + func (r *Service) ResolveGeneratedFile(ctx context.Context, ref GeneratedFileRef) (*ResolvedGeneratedFile, error)