feat: get_available_thinking_levels rpc (#6865)
This commit is contained in:
committed by
GitHub
parent
1942b2600f
commit
c179395218
@@ -280,6 +280,14 @@ export class RpcClient {
|
||||
return this.getData(response);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get list of available thinking levels for the current model.
|
||||
*/
|
||||
async getAvailableThinkingLevels(): Promise<ThinkingLevel[]> {
|
||||
const response = await this.send({ type: "get_available_thinking_levels" });
|
||||
return this.getData<{ levels: ThinkingLevel[] }>(response).levels;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set steering mode.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user