Skip to content

Chat template with Aspire loses ingestion state on every app restart #6352

@SteveSandersonMS

Description

@SteveSandersonMS

Because it's using Aspire's SQLite hosting:

var ingestionCache = builder.AddSqlite("ingestionCache");

... it makes up a new random filename for the ingestion cache DB on every restart, and hence always has to re-ingest the content. This means that ingestion doesn't work as an incremental process as designed.

Ideally we'll remove the ingestion cache entirely in the next update, but if we can't, we should definitely fix this (e.g., by doing builder.AddSqlite("ingestionCache", builder.AppHostDirectory, "ingestionCache.sqlite")).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions