Skip to content

Commit

Permalink
update model
Browse files Browse the repository at this point in the history
Signed-off-by: James <[email protected]>
  • Loading branch information
namchuai committed Jun 19, 2024
1 parent 827870f commit 7ed50a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resources/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export class Models extends APIResource {
}

update(model: string, body: Record<string, unknown>, options?: Core.RequestOptions) {
return this._client.patch(`/models/${model}`, { body, ...options });
return this._client.post(`/models/${model}/config`, { body, ...options });
}
}

Expand Down

0 comments on commit 7ed50a9

Please sign in to comment.