Skip to content

fix: honor cortex home for plugin storage#248

Open
Bortlesboat wants to merge 1 commit into
CortexLM:mainfrom
Bortlesboat:fix/plugin-cortex-home
Open

fix: honor cortex home for plugin storage#248
Bortlesboat wants to merge 1 commit into
CortexLM:mainfrom
Bortlesboat:fix/plugin-cortex-home

Conversation

@Bortlesboat
Copy link
Copy Markdown

Summary

  • Route plugin storage through the existing Cortex home resolver so CORTEX_HOME / CORTEX_CONFIG_DIR use <cortex-home>/plugins.
  • Add regression coverage for get_plugins_dir() under a custom CORTEX_HOME.
  • Fix the agent command test import so the focused cortex-cli lib test target compiles.

Related to PlatformNetwork/bounty-challenge#51564.

Verification

  • cargo test -p cortex-cli test_get_plugins_dir_uses_cortex_home -- --nocapture
  • cargo check -p cortex-cli
  • cargo fmt --check --package cortex-cli
  • git diff --check

Copy link
Copy Markdown

@greptile-apps greptile-apps Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant