Skip to content

fix(perplexity): Resolve script defaults relative to script dir#543

Open
Gujiassh wants to merge 2 commits intomicrosoft:mainfrom
Gujiassh:fix/perplexity-default-paths-refresh-20260411
Open

fix(perplexity): Resolve script defaults relative to script dir#543
Gujiassh wants to merge 2 commits intomicrosoft:mainfrom
Gujiassh:fix/perplexity-default-paths-refresh-20260411

Conversation

@Gujiassh
Copy link
Copy Markdown

Summary

  • refresh the old utils/test_perplexity.py default-path fix onto current main
  • resolve built-in binary/data defaults relative to the script directory instead of caller cwd
  • keep regression coverage in tests/test_test_perplexity_paths.py for script-dir based default resolution

Validation

  • python3 -m py_compile utils/test_perplexity.py tests/test_test_perplexity_paths.py
  • python3 -m unittest tests.test_test_perplexity_paths

Gujiassh and others added 2 commits March 17, 2026 12:52
Keep the perplexity utility usable from the repo root by resolving its built-in binary/data defaults relative to the script instead of the caller's cwd.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
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