Commit 8ef55c7
committed
fix: use resolve_scoped_name for provider lookup in inference set
The provider lookup in upsert_cluster_inference_route used
get_message_by_name directly, which fails for per-user providers
stored under scoped keys (e.g. 'owner-uuid/claude'). Switch to
resolve_scoped_name which tries the scoped key first then falls
back to global, matching the pattern used in the provider gRPC
service.
Signed-off-by: Paolo Dettori <dettori@us.ibm.com>1 parent 0a01b7b commit 8ef55c7
1 file changed
Lines changed: 13 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
307 | 313 | | |
308 | 314 | | |
309 | 315 | | |
| |||
0 commit comments