Commit d198ccc
fix(api): wrap get_optional responses in GenericResponse
The API wraps all responses in { "data": ... } but check_provider_connection
and get_cluster were not unwrapping this, causing parse errors when the
provider IS connected.
This explains why the agent couldn't detect connected providers.
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 14f3e82 commit d198ccc
1 file changed
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
584 | 584 | | |
585 | 585 | | |
586 | 586 | | |
587 | | - | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
588 | 591 | | |
589 | 592 | | |
590 | 593 | | |
| |||
777 | 780 | | |
778 | 781 | | |
779 | 782 | | |
780 | | - | |
781 | | - | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
782 | 788 | | |
783 | 789 | | |
784 | 790 | | |
| |||
0 commit comments