Skip to content

config.yaml embedings_url fantasia initialize error #53

@EricDeveaud

Description

@EricDeveaud

Hello,

when starting an ab-inition fantasia run

using provided config.yaml fantasia initialize exit with KeyError: 'embeddings_url

2026-03-06 13:15:34,640 - FANTASIA - INFO - PostgreSQL connection OK.
2026-03-06 13:15:34,643 - FANTASIA - INFO - RabbitMQ connection OK.
2026-03-06 13:15:34,643 - FANTASIA - INFO - Starting initialization...
Traceback (most recent call last):
  File "/opt/gensoft/exe/FANTASIA/4.1.1/venv/bin/fantasia", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/opt/gensoft/exe/FANTASIA/4.1.1/venv/lib/python3.12/site-packages/fantasia/main.py", line 424, in main
    initialize(conf)
  File "/opt/gensoft/exe/FANTASIA/4.1.1/venv/lib/python3.12/site-packages/fantasia/main.py", line 90, in initialize
    filename = os.path.basename(urllib.parse.urlparse(conf["embeddings_url"]).path)
                                                      ~~~~^^^^^^^^^^^^^^^^^^
KeyError: 'embeddings_url'

while config file claims
# Leave empty to skip the preload step.

what did I missed

regards

Eric

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions