Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

feat: use relative path for model info in data folder #1368

@vansangpfiev

Description

@vansangpfiev

We store absolute path for yaml path in database. When we transfer the Cortex data folder (models) to another computer or move it between disks/folders, it will break.
We have all model data in the data folder, it makes sense to store relative path in the database.
Note: we have an edge case for import model

Motivation / context: https://discordapp.com/channels/1107178041848909847/1204617960615055401/1290493569156776088

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions