Add unit tests for skill capabilities, skill planner, and UV setup
- Implement tests for random ID generation, ensuring preference for crypto.randomUUID. - Create tests for runtime context capabilities, validating the injection of enabled skill capabilities. - Add tests for skill capability parsing, including classification and command example extraction. - Introduce tests for the skill planner, verifying tool call planning based on user requests and attachment requirements. - Establish tests for UV setup, ensuring proper handling of Python installation scenarios and environment checks.
This commit is contained in:
@@ -72,7 +72,10 @@ export function dispatchGatewayRpcMethod(
|
||||
case 'skills.update':
|
||||
return {
|
||||
handled: true,
|
||||
result: skillHandlers.handleSkillsUpdate(params),
|
||||
result: skillHandlers.handleSkillsUpdate(
|
||||
params as GatewayRpcParams['skills.update'],
|
||||
broadcast,
|
||||
),
|
||||
};
|
||||
case 'skills.install':
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user