Skip to content

Commit 357e5d2

Browse files
build(generated): add validation mode fields to health monitoring DTOs
Add validation mode properties to health status DTOs: - validationMode: Mode of validation being performed - checkedModel: Model being validated - validationPassed: Boolean indicating validation result - expectedResponse: Expected response for validation - actualResponse: Actual response received - normalizedResponse: Normalized response for comparison Add model query parameter to getApiHealthAgentCli for filtering by model. Co-Authored-By: Hagicode <noreply@hagicode.com> Signed-off-by: newbe36524 <newbe36524@qq.com>
1 parent 61b6478 commit 357e5d2

3 files changed

Lines changed: 17 additions & 2 deletions

File tree

src/generated/api/models/PCode_Application_Contracts_Dto_AgentCliMonitoringChannelDto.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ export type PCode_Application_Contracts_Dto_AgentCliMonitoringChannelDto = {
2626
* Version string for the underlying provider or CLI runtime, when available.
2727
*/
2828
version?: string | null;
29+
validationMode?: string | null;
30+
checkedModel?: string | null;
31+
validationPassed?: boolean | null;
32+
expectedResponse?: string | null;
33+
actualResponse?: string | null;
34+
normalizedResponse?: string | null;
2935
/**
3036
* Stable Agent CLI identifier used by frontend rendering and caching.
3137
*/
@@ -40,4 +46,3 @@ export type PCode_Application_Contracts_Dto_AgentCliMonitoringChannelDto = {
4046
*/
4147
displayOrder?: number;
4248
};
43-

src/generated/api/models/PCode_Application_Contracts_Dto_HealthStatusDto.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,10 @@ export type PCode_Application_Contracts_Dto_HealthStatusDto = {
2424
* Version string for the underlying provider or CLI runtime, when available.
2525
*/
2626
version?: string | null;
27+
validationMode?: string | null;
28+
checkedModel?: string | null;
29+
validationPassed?: boolean | null;
30+
expectedResponse?: string | null;
31+
actualResponse?: string | null;
32+
normalizedResponse?: string | null;
2733
};
28-

src/generated/api/services/HealthService.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,18 +44,23 @@ export class HealthService {
4444
*/
4545
public static getApiHealthAgentCli({
4646
cliId,
47+
model,
4748
}: {
4849
/**
4950
* Stable Agent CLI identifier, such as claude-code or codex.
5051
*/
5152
cliId: string,
53+
model?: string,
5254
}): CancelablePromise<PCode_Application_Contracts_Dto_AgentCliMonitoringChannelDto> {
5355
return __request(OpenAPI, {
5456
method: 'GET',
5557
url: '/api/health/agent-cli/{cliId}',
5658
path: {
5759
'cliId': cliId,
5860
},
61+
query: {
62+
'model': model,
63+
},
5964
errors: {
6065
400: `Bad Request`,
6166
},

0 commit comments

Comments
 (0)