halguru test
Execute tests for the AI agent. Usage:
| Options | Default | Description |
|---|---|---|
--help, -h |
Prints help information | |
--agent-file, -a |
The YAML file that defines the agent to be used. | |
--api-key, -k |
The API key to use for the hal.guru platform. | |
--api-url, -u |
If specified, the API URL to use for hal.guru platform. | |
--pre-release, -p |
If specified, pre-release environments will used to initialize secrets. | |
--verbose, -v |
Enables detailed output for debugging and troubleshooting purposes. |
Summary#
Represents a command that executes tests for an AI agent as defined in a YAML file.
Remarks#
The TestCommand provides a way to test the behavior of an AI agent using a user-specified YAML configuration file. The command supports options for specifying the agent YAML file and enabling verbose output for detailed logging.
Option --help, -h#
Prints help information
Option --agent-file, -a#
The YAML file that defines the agent to be used.
- Type:
String
Represents the path to the YAML file that defines the configuration of the agent.
When the file name is not defined, it is searched for a file with the extension *.halguru in the current directory.
Option --api-key, -k#
The API key to use for the hal.guru platform.
- Type:
String
The API key used for authenticating requests to the hal.guru platform.
This property allows the user to specify the API key required for connecting to the hal.guru platform. It should be provided if authentication is needed to access platform services or perform API operations. If not provided, the environment variable 'HalGuruApiKey' will be used.
Option --api-url, -u#
If specified, the API URL to use for hal.guru platform.
- Type:
String
Represents the API URL used for publishing the agent. This property specifies the endpoint to which the agent data will be sent. If not provided, the default URL configuration is used.
If not provided, the environment variable 'HalGuruApiUrl' will be used. Otherwise, the default URL https://api.hal.guru will be used.
Option --pre-release, -p#
If specified, pre-release environments will used to initialize secrets.
- Type:
0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]
Indicates whether the platform check should include pre-release environments.
This property determines if pre-release versions of the platform should be considered during the execution of the platform check. When set to true, the operation will include pre-release environments for validation and status assessment. It is useful for testing or verifying changes in a staging or beta environment prior to a production release.
Option --verbose, -v#
Enables detailed output for debugging and troubleshooting purposes.
- Type:
0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]
Specifies whether detailed output is enabled for debugging and troubleshooting purposes.
When set to true, additional information about the command execution process is displayed, which can be useful for diagnosing issues or understanding internal operations. By default, the value is false, indicating standard output only.
| Last updated: | 2025-12-05 | |
| Autogenerated: | Yes | |
| AI powered: | Yes | |
| Core version: | 1.75.0 |