File: packages/gui/src/daemon-client/client.ts:181
Severity: Medium
Description:
API expects consistent naming convention but receives both; may cause parser errors or use wrong field depending on implementation.
Code:
setRoleBinding(role: string, modelId: string): Promise<unknown> {
return this.post('/api/v1/models/role-binding', { role, modelId, model_id: modelId });
}
Suggested Fix:
Align with daemon API contract, send only one naming convention.
File: packages/gui/src/daemon-client/client.ts:181
Severity: Medium
Description:
API expects consistent naming convention but receives both; may cause parser errors or use wrong field depending on implementation.
Code:
Suggested Fix:
Align with daemon API contract, send only one naming convention.