Commit c725a55
[FIX] Use correct primary key in prompt studio list count subquery (#1902)
* [FIX] Use correct primary key field in prompt count subquery
ToolStudioPrompt uses prompt_id as its primary key, not id.
Count("id") causes FieldError on the list endpoint (500).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* [FIX] Fix ruff-format implicit string concatenation
Merge adjacent f-strings into single f-string to satisfy ruff-format.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 93c0634 commit c725a55
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
| 118 | + | |
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| |||
1215 | 1215 | | |
1216 | 1216 | | |
1217 | 1217 | | |
1218 | | - | |
| 1218 | + | |
1219 | 1219 | | |
1220 | 1220 | | |
1221 | 1221 | | |
| |||
0 commit comments