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

Python package versions only checked on startup #9

@samj

Description

@samj

Currently the abilities[] list is populated on startup in api.py by reading in each abilities/*/metadata.json file, decorating it with install status, version, and whether that satisfies the dependency (arguably such dynamic information should be separate from immutable information from metadata.json, but that complicates things).

This means that if packages are installed later (e.g., installing langchain which also installs langchain-core, langchain-community, and langchain-text-splitters as dependencies), they won't be seen until the backend is restarted and abilities[] recreated.

Attempting to install the other package/s will result in their reloading so it's not a showstopper, but it would be nice to have the interface reflect reality.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions