Skip to content

Commit 28c5b8d

Browse files
committed
add delete plugin
1 parent fccbc24 commit 28c5b8d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/CCatClient.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,11 @@ public function getPluginSettings(string $pluginId): PluginSettingsOutput
267267

268268
}
269269

270+
public function deletePlugin(string $pluginId): ResponseInterface
271+
{
272+
return $this->httpClient->getHttpClient()->delete(sprintf('/plugins/%s', $pluginId));
273+
}
274+
270275
public function getLLMSettings(string $llm): LLMSettingsOutput
271276
{
272277
$response = $this->httpClient->getHttpClient()->get(sprintf('/llm/settings/%s', $llm), []);

0 commit comments

Comments
 (0)