Commit ac6d4d5
fix: runtime fixes for ContextBench calibration (imports, auth, repo URL)
- Change `from scripts.context_retrieval_agent` to `from context_retrieval_agent` (fixes ModuleNotFoundError when PYTHONPATH is set)
- Add CLAUDE_CODE_OAUTH_TOKEN fallback before ANTHROPIC_API_KEY
- Fix repo URL construction: prefer repo_url field, construct from repo slug as fallback
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 8f46d49 commit ac6d4d5
1 file changed
+17
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
418 | 418 | | |
419 | 419 | | |
420 | 420 | | |
421 | | - | |
| 421 | + | |
422 | 422 | | |
423 | 423 | | |
424 | 424 | | |
| |||
798 | 798 | | |
799 | 799 | | |
800 | 800 | | |
801 | | - | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
802 | 809 | | |
803 | | - | |
| 810 | + | |
804 | 811 | | |
805 | 812 | | |
806 | 813 | | |
807 | 814 | | |
808 | 815 | | |
809 | 816 | | |
810 | 817 | | |
811 | | - | |
| 818 | + | |
812 | 819 | | |
813 | 820 | | |
814 | 821 | | |
| |||
821 | 828 | | |
822 | 829 | | |
823 | 830 | | |
824 | | - | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
825 | 837 | | |
826 | 838 | | |
827 | 839 | | |
| |||
0 commit comments