Skip to content

fix: honor cortex home for export#262

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

fix: honor cortex home for export#262
Bortlesboat wants to merge 1 commit into
CortexLM:mainfrom
Bortlesboat:fix/export-cortex-home

Conversation

@Bortlesboat
Copy link
Copy Markdown

Summary

  • Route cortex export session lookup through the existing Cortex home resolver so CORTEX_CONFIG_DIR / CORTEX_HOME use <cortex-home>/sessions.
  • Add regression coverage for get_cortex_home() 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#51515.

Verification

  • cargo test -p cortex-cli test_get_cortex_home_uses_cortex_home_env -- --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