Commit f998e54
fix(runner): fix credential retry error message and observability end_turn import
- auth.py: don't retry with fresh CP token when caller-token BOT_TOKEN
fallback fails; preserve that path's original error message
- observability.py: guard claude_agent_sdk import in end_turn with try/except
so Langfuse generation.update() is still called when the SDK is not installed
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 8af45d4 commit f998e54
2 files changed
Lines changed: 8 additions & 13 deletions
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
515 | 515 | | |
516 | 516 | | |
517 | 517 | | |
518 | | - | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
519 | 523 | | |
520 | | - | |
521 | 524 | | |
522 | 525 | | |
523 | 526 | | |
524 | | - | |
| 527 | + | |
525 | 528 | | |
| 529 | + | |
| 530 | + | |
526 | 531 | | |
527 | 532 | | |
528 | 533 | | |
| |||
Lines changed: 0 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | 177 | | |
188 | 178 | | |
189 | 179 | | |
| |||
0 commit comments