Skip to content

If len(additional_search_paths) >= 5, an error would be raised: Priority must be positive, got 0 #11

@desperado0807

Description

@desperado0807

because of the code below:

skillkit/core/manager.py

PRIORITY_CUSTOM_BASE = 5

sources.append(
SkillSource(
source_type=SourceType.CUSTOM,
directory=custom_path.resolve(),
priority=PRIORITY_CUSTOM_BASE - i, # Decrement for each additional path
)
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions