@oro-ai/sdk 1.0.43 → 1.0.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +67 -1
- package/dist/index.d.ts +67 -1
- package/dist/index.js +16 -0
- package/dist/index.mjs +14 -0
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +29 -1
- package/src/generated/types.gen.ts +58 -0
package/dist/index.d.mts
CHANGED
|
@@ -86,6 +86,14 @@ type AdminAgentVersionEntry = {
|
|
|
86
86
|
* Whether this is the current top agent
|
|
87
87
|
*/
|
|
88
88
|
is_current_top?: boolean;
|
|
89
|
+
/**
|
|
90
|
+
* When the agent was eliminated from future races, if any
|
|
91
|
+
*/
|
|
92
|
+
eliminated_at?: (string | null);
|
|
93
|
+
/**
|
|
94
|
+
* Race number that eliminated this agent, if any
|
|
95
|
+
*/
|
|
96
|
+
eliminated_in_race_number?: (number | null);
|
|
89
97
|
/**
|
|
90
98
|
* Number of included successful runs in work item
|
|
91
99
|
*/
|
|
@@ -1326,6 +1334,15 @@ type HeartbeatResponse = {
|
|
|
1326
1334
|
type HTTPValidationError = {
|
|
1327
1335
|
detail?: Array<ValidationError>;
|
|
1328
1336
|
};
|
|
1337
|
+
/**
|
|
1338
|
+
* List of models available to ORO agents via the inference proxy.
|
|
1339
|
+
*/
|
|
1340
|
+
type InferenceModelsResponse = {
|
|
1341
|
+
/**
|
|
1342
|
+
* Allowed model identifiers
|
|
1343
|
+
*/
|
|
1344
|
+
models: Array<(string)>;
|
|
1345
|
+
};
|
|
1329
1346
|
type InvalidAgentNameError = {
|
|
1330
1347
|
/**
|
|
1331
1348
|
* Error message describing what went wrong
|
|
@@ -2073,6 +2090,26 @@ type ReevaluateResponse = {
|
|
|
2073
2090
|
*/
|
|
2074
2091
|
agent_version_id: string;
|
|
2075
2092
|
};
|
|
2093
|
+
type ReinstateEliminationRequest = {
|
|
2094
|
+
/**
|
|
2095
|
+
* Specific suite to reinstate elimination for
|
|
2096
|
+
*/
|
|
2097
|
+
suite_id?: (number | null);
|
|
2098
|
+
/**
|
|
2099
|
+
* Optional reason captured in the audit trail
|
|
2100
|
+
*/
|
|
2101
|
+
reason?: (string | null);
|
|
2102
|
+
};
|
|
2103
|
+
type ReinstateEliminationResponse = {
|
|
2104
|
+
/**
|
|
2105
|
+
* Agent version whose elimination was cleared
|
|
2106
|
+
*/
|
|
2107
|
+
agent_version_id: string;
|
|
2108
|
+
/**
|
|
2109
|
+
* Suite the elimination was cleared for
|
|
2110
|
+
*/
|
|
2111
|
+
suite_id: number;
|
|
2112
|
+
};
|
|
2076
2113
|
type ReinstateRequest = {
|
|
2077
2114
|
/**
|
|
2078
2115
|
* Specific suite to reinstate for
|
|
@@ -2870,6 +2907,8 @@ type JoinWaitlistData = {
|
|
|
2870
2907
|
};
|
|
2871
2908
|
type JoinWaitlistResponse = (WaitlistSignupResponse);
|
|
2872
2909
|
type JoinWaitlistError = (HTTPValidationError);
|
|
2910
|
+
type GetInferenceModelsResponse = (InferenceModelsResponse);
|
|
2911
|
+
type GetInferenceModelsError = unknown;
|
|
2873
2912
|
type RequestChallengeData = {
|
|
2874
2913
|
body: ChallengeRequest;
|
|
2875
2914
|
};
|
|
@@ -3040,6 +3079,17 @@ type ReinstateAgentVersionData = {
|
|
|
3040
3079
|
};
|
|
3041
3080
|
type ReinstateAgentVersionResponse = (DiscardResponse);
|
|
3042
3081
|
type ReinstateAgentVersionError = (AgentVersionNotFoundError | HTTPValidationError | NoActiveSuiteError);
|
|
3082
|
+
type ReinstateEliminationData = {
|
|
3083
|
+
body: ReinstateEliminationRequest;
|
|
3084
|
+
path: {
|
|
3085
|
+
/**
|
|
3086
|
+
* Agent version ID
|
|
3087
|
+
*/
|
|
3088
|
+
agent_version_id: string;
|
|
3089
|
+
};
|
|
3090
|
+
};
|
|
3091
|
+
type ReinstateEliminationResponse2 = (ReinstateEliminationResponse);
|
|
3092
|
+
type ReinstateEliminationError = (AgentVersionNotFoundError | HTTPValidationError | NoActiveSuiteError);
|
|
3043
3093
|
type SetTopAgentData = {
|
|
3044
3094
|
body: SetTopRequest;
|
|
3045
3095
|
path: {
|
|
@@ -3466,6 +3516,11 @@ declare const getRaceDetail: <ThrowOnError extends boolean = false>(options: Opt
|
|
|
3466
3516
|
* Submit an email to join the ORO waitlist.
|
|
3467
3517
|
*/
|
|
3468
3518
|
declare const joinWaitlist: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<JoinWaitlistData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WaitlistSignupResponse, HTTPValidationError, ThrowOnError>;
|
|
3519
|
+
/**
|
|
3520
|
+
* List allowed inference models
|
|
3521
|
+
* Returns the models available to ORO agents via the inference proxy.
|
|
3522
|
+
*/
|
|
3523
|
+
declare const getInferenceModels: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => _hey_api_client_fetch.RequestResult<InferenceModelsResponse, unknown, ThrowOnError>;
|
|
3469
3524
|
/**
|
|
3470
3525
|
* Request Challenge
|
|
3471
3526
|
* Request a challenge for wallet authentication.
|
|
@@ -3589,6 +3644,17 @@ declare const discardAgentVersion: <ThrowOnError extends boolean = false>(option
|
|
|
3589
3644
|
* Also reopens the work item so validators can claim work again.
|
|
3590
3645
|
*/
|
|
3591
3646
|
declare const reinstateAgentVersion: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<ReinstateAgentVersionData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DiscardResponse, ReinstateAgentVersionError, ThrowOnError>;
|
|
3647
|
+
/**
|
|
3648
|
+
* Reinstate an agent version that was eliminated after a race
|
|
3649
|
+
* Clear `eliminated_at` and `eliminated_in_race_id` on the aggregate.
|
|
3650
|
+
*
|
|
3651
|
+
* Use when an agent was eliminated due to a mis-evaluation, scoring bug, or
|
|
3652
|
+
* operational incident rather than genuine poor performance. The agent will
|
|
3653
|
+
* re-appear in `_find_scored_qualifiers` on the next qualifying evaluation.
|
|
3654
|
+
*
|
|
3655
|
+
* Idempotent: succeeds even if the aggregate is not currently eliminated.
|
|
3656
|
+
*/
|
|
3657
|
+
declare const reinstateElimination: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<ReinstateEliminationData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ReinstateEliminationResponse, ReinstateEliminationError, ThrowOnError>;
|
|
3592
3658
|
/**
|
|
3593
3659
|
* Set an agent version as the top agent for emissions
|
|
3594
3660
|
* Designate an agent version as the top agent for emissions.
|
|
@@ -4063,4 +4129,4 @@ declare class SessionAuthManager {
|
|
|
4063
4129
|
*/
|
|
4064
4130
|
declare function configureSessionAuth(baseUrl: string, config: SessionAuthConfig): SessionAuthManager;
|
|
4065
4131
|
|
|
4066
|
-
export { type ActivateSuiteData, type ActivateSuiteError, type ActivateSuiteResponse, type ActivateSuiteResponse2, type AdminAgentCodeResponse, type AdminAgentVersionEntry, type AdminAgentVersionsResponse, type AdminEvaluationRunEntry, type AdminEvaluationRunsResponse, type AdminMinerEntry, type AdminMinersResponse, type AdminValidatorEntry, type AdminValidatorsResponse, type AdmissionReason, type AdmissionStatus, type AgentLatestVersion, type AgentNotFoundError, type AgentPublic, type AgentVersionHistoryEntry, type AgentVersionNotFoundError, type AgentVersionProblemsResponse, type AgentVersionPublic, type AgentVersionScoreEntry, type AgentVersionState, type AgentVersionStatus, type AgentVersionVariance, type AgentVersionVarianceResponse, type AlreadyInvalidatedError, type ArtifactDownloadRequest, type ArtifactDownloadResponse, type ArtifactNotFoundError, type ArtifactNotReleasedError, type ArtifactReleaseState, type ArtifactType, type AtCapacityError, type AuditEventEntry, type AuditEventsResponse, type BanMinerData, type BanMinerError, type BanMinerResponse, type BanRequest, type BanResponse, type BanValidatorData, type BanValidatorError, type BanValidatorResponse, type BittensorAuthConfig, type Body_submit_agent, type CachedSession, type CancelAgentVersionData, type CancelAgentVersionError, type CancelAgentVersionResponse, type CancelRequest, type CancelResponse, type ChallengeRequest, type ChallengeResponse, type ChutesAuthStatusResponse, type ClaimWorkData, type ClaimWorkError, type ClaimWorkResponse, type ClaimWorkResponse2, type ClearCooldownResponse, type ClearMinerCooldownData, type ClearMinerCooldownError, type ClearMinerCooldownResponse, type CloseQualifyingError, type CloseQualifyingResponse, type CloseQualifyingResponse2, type CodeAnalysisError, type CompleteRunData, type CompleteRunError, type CompleteRunRequest, type CompleteRunResponse, type CompleteRunResponse2, type CooldownActiveError, type CreateSessionEndpointData, type CreateSessionEndpointError, type CreateSessionEndpointResponse, type CreateSuiteData, type CreateSuiteError, type CreateSuiteRequest, type CreateSuiteResponse, type CreateSuiteResponse2, type CurrentRacesResponse, type DiscardAgentVersionData, type DiscardAgentVersionError, type DiscardAgentVersionResponse, type DiscardRequest, type DiscardResponse, type ErrorCategory, type EvalRunNotFoundError, type EvaluationPhase, type EvaluationRunDetail, type EvaluationRunPublic, type EvaluationRunStatus, type EvaluationRunStatusPublic, type FileTooLargeError, type GetAgentVersionCodeData, type GetAgentVersionCodeError, type GetAgentVersionCodeResponse, type GetAgentVersionData, type GetAgentVersionError, type GetAgentVersionProblemsData, type GetAgentVersionProblemsError, type GetAgentVersionProblemsResponse, type GetAgentVersionResponse, type GetAgentVersionRunsData, type GetAgentVersionRunsError, type GetAgentVersionRunsResponse, type GetAgentVersionStatusData, type GetAgentVersionStatusError, type GetAgentVersionStatusResponse, type GetAgentVersionVarianceData, type GetAgentVersionVarianceError, type GetAgentVersionVarianceResponse, type GetArtifactDownloadUrlData, type GetArtifactDownloadUrlError, type GetArtifactDownloadUrlResponse, type GetAuditEventsData, type GetAuditEventsError, type GetAuditEventsResponse, type GetChutesAuthStatusError, type GetChutesAuthStatusResponse, type GetCurrentRaceError, type GetCurrentRaceResponse, type GetCurrentRacesError, type GetCurrentRacesResponse, type GetCurrentSuiteError, type GetCurrentSuiteResponse, type GetEvaluationRunData, type GetEvaluationRunError, type GetEvaluationRunResponse, type GetLeaderboardData, type GetLeaderboardError, type GetLeaderboardResponse, type GetOwnedAgentVersionStatusData, type GetOwnedAgentVersionStatusError, type GetOwnedAgentVersionStatusResponse, type GetPendingEvaluationsData, type GetPendingEvaluationsError, type GetPendingEvaluationsResponse, type GetRaceDetailData, type GetRaceDetailError, type GetRaceDetailResponse, type GetRaceDiagnosticsData, type GetRaceDiagnosticsError, type GetRaceDiagnosticsResponse, type GetRaceHistoryData, type GetRaceHistoryError, type GetRaceHistoryResponse, type GetReaperStatsError, type GetReaperStatsResponse, type GetRunProblemsData, type GetRunProblemsError, type GetRunProblemsResponse, type GetRunningEvaluationsError, type GetRunningEvaluationsResponse, type GetSuiteProblemsData, type GetSuiteProblemsError, type GetSuiteProblemsResponse, type GetTopAgentError, type GetTopAgentResponse, type GetTopHistoryData, type GetTopHistoryError, type GetTopHistoryResponse, type GetTopMinerPayoutError, type GetTopMinerPayoutResponse, type GetValidatorScoresData, type GetValidatorScoresError, type GetValidatorScoresResponse, type GetValidatorsError, type GetValidatorsResponse, type HTTPValidationError, type HealthCheckError, type HealthCheckResponse, type HeartbeatData, type HeartbeatError, type HeartbeatRequest, type HeartbeatResponse, type HeartbeatResponse2, type InvalidAgentNameError, type InvalidArtifactTypeError, type InvalidFileError, type InvalidProblemIdError, type InvalidateEvaluationRunData, type InvalidateEvaluationRunError, type InvalidateEvaluationRunResponse, type InvalidateRunRequest, type JoinWaitlistData, type JoinWaitlistError, type JoinWaitlistResponse, type LeaderboardEntry, type LeaderboardResponse, type LeaseExpiredError, type ListAgentVersions1Data, type ListAgentVersions1Error, type ListAgentVersions1Response, type ListAgentVersionsData, type ListAgentVersionsError, type ListAgentVersionsResponse, type ListEvaluationRunsData, type ListEvaluationRunsError, type ListEvaluationRunsResponse, type ListMinerAgentsError, type ListMinerAgentsResponse, type ListMinersData, type ListMinersError, type ListMinersResponse, type ListSuitesError, type ListSuitesResponse, type ListValidatorsData, type ListValidatorsError, type ListValidatorsResponse, type LogoutData, type LogoutError, type LogoutResponse, type LogoutResponse2, type MinerAgentsResponse, type MinerNotFoundError, type MissingParameterError, type MissingScoreError, type NoActiveSuiteError, type NotRunOwnerError, type OroErrorCode, type PendingEvaluation, type PendingEvaluationSummary, type PendingEvaluationsResponse, type PresignUploadData, type PresignUploadError, type PresignUploadRequest, type PresignUploadResponse, type PresignUploadResponse2, type ProblemNotFoundError, type ProblemProgressEntry, type ProblemProgressUpdate, type ProblemPublic, type ProblemStatus, type ProgressUpdateRequest, type ProgressUpdateResponse, type RaceCurrentResponse, type RaceDetailResponse, type RaceDiagnosticsResponse, type RaceHistoryResponse, type RaceNotFoundError, type RacePublic, type RaceQualifierEntry, type RaceQualifierPublic, type RaceSummary, type RaceWorkItemEntry, type RateLimitExceededError, type ReaperStatsResponse, type ReevaluateAgentVersionData, type ReevaluateAgentVersionError, type ReevaluateAgentVersionResponse, type ReevaluateRequest, type ReevaluateResponse, type ReinstateAgentVersionData, type ReinstateAgentVersionError, type ReinstateAgentVersionResponse, type ReinstateRequest, type RequestChallengeData, type RequestChallengeError, type RequestChallengeResponse, type RetryConfig, type RetryContext, type RunAlreadyCompleteError, type RunProblemsResponse, type RunningEvaluation, type ScoreBelowThresholdError, type SessionAuthConfig, SessionAuthManager, type SessionInfo, type SessionRequest, type SessionResponse, type SetTopAgentData, type SetTopAgentError, type SetTopAgentResponse, type SetTopRequest, type SetTopResponse, type StoreChutesTokenData, type StoreChutesTokenError, type StoreChutesTokenRequest, type StoreChutesTokenResponse, type SubmitAgentData, type SubmitAgentError, type SubmitAgentResponse, type SubmitAgentResponse2, type SuiteNotFoundError, type SuitePublic, type SuiteWithProblemsResponse, type TerminalStatus, type TopAgentResponse, type TopHistoryEntry, type TopHistoryResponse, type TopMinerPayoutResponse, type UnbanMinerData, type UnbanMinerError, type UnbanMinerResponse, type UnbanValidatorData, type UnbanValidatorError, type UnbanValidatorResponse, type UpdateProgressData, type UpdateProgressError, type UpdateProgressResponse, type ValidationError, type ValidationErrorError, type ValidatorCurrentAgent, type ValidatorNotFoundError, type ValidatorProblemResult, type ValidatorPublic, type ValidatorScoreSummary, type ValidatorScoresResponse, type ValidatorStatus, type WaitlistSignupRequest, type WaitlistSignupResponse, type WorkItemStatus, activateSuite, banMiner, banValidator, cancelAgentVersion, claimWork, classifyError, classifyStatus, clearMinerCooldown, client, closeQualifying, completeRun, computeDelay, configureBittensorAuth, configurePublicClient, configureSessionAuth, createRetryFetch, createSessionEndpoint, createSuite, discardAgentVersion, generateAuthHeaders, getAgentVersion, getAgentVersionCode, getAgentVersionProblems, getAgentVersionRuns, getAgentVersionStatus, getAgentVersionVariance, getArtifactDownloadUrl, getAuditEvents, getChutesAuthStatus, getCurrentRace, getCurrentRaces, getCurrentSuite, getErrorCode, getErrorDetail, getEvaluationRun, getLeaderboard, getOwnedAgentVersionStatus, getPendingEvaluations, getRaceDetail, getRaceDiagnostics, getRaceHistory, getReaperStats, getRunProblems, getRunningEvaluations, getSuiteProblems, getTopAgent, getTopHistory, getTopMinerPayout, getValidatorScores, getValidators, hasDetail, hasErrorCode, healthCheck, heartbeat, invalidateEvaluationRun, isTransient, isTransientError, joinWaitlist, listAgentVersions, listAgentVersions1, listEvaluationRuns, listMinerAgents, listMiners, listSuites, listValidators, logout, parseRetryAfter, presignUpload, reevaluateAgentVersion, reinstateAgentVersion, requestChallenge, setTopAgent, storeChutesToken, submitAgent, unbanMiner, unbanValidator, updateProgress };
|
|
4132
|
+
export { type ActivateSuiteData, type ActivateSuiteError, type ActivateSuiteResponse, type ActivateSuiteResponse2, type AdminAgentCodeResponse, type AdminAgentVersionEntry, type AdminAgentVersionsResponse, type AdminEvaluationRunEntry, type AdminEvaluationRunsResponse, type AdminMinerEntry, type AdminMinersResponse, type AdminValidatorEntry, type AdminValidatorsResponse, type AdmissionReason, type AdmissionStatus, type AgentLatestVersion, type AgentNotFoundError, type AgentPublic, type AgentVersionHistoryEntry, type AgentVersionNotFoundError, type AgentVersionProblemsResponse, type AgentVersionPublic, type AgentVersionScoreEntry, type AgentVersionState, type AgentVersionStatus, type AgentVersionVariance, type AgentVersionVarianceResponse, type AlreadyInvalidatedError, type ArtifactDownloadRequest, type ArtifactDownloadResponse, type ArtifactNotFoundError, type ArtifactNotReleasedError, type ArtifactReleaseState, type ArtifactType, type AtCapacityError, type AuditEventEntry, type AuditEventsResponse, type BanMinerData, type BanMinerError, type BanMinerResponse, type BanRequest, type BanResponse, type BanValidatorData, type BanValidatorError, type BanValidatorResponse, type BittensorAuthConfig, type Body_submit_agent, type CachedSession, type CancelAgentVersionData, type CancelAgentVersionError, type CancelAgentVersionResponse, type CancelRequest, type CancelResponse, type ChallengeRequest, type ChallengeResponse, type ChutesAuthStatusResponse, type ClaimWorkData, type ClaimWorkError, type ClaimWorkResponse, type ClaimWorkResponse2, type ClearCooldownResponse, type ClearMinerCooldownData, type ClearMinerCooldownError, type ClearMinerCooldownResponse, type CloseQualifyingError, type CloseQualifyingResponse, type CloseQualifyingResponse2, type CodeAnalysisError, type CompleteRunData, type CompleteRunError, type CompleteRunRequest, type CompleteRunResponse, type CompleteRunResponse2, type CooldownActiveError, type CreateSessionEndpointData, type CreateSessionEndpointError, type CreateSessionEndpointResponse, type CreateSuiteData, type CreateSuiteError, type CreateSuiteRequest, type CreateSuiteResponse, type CreateSuiteResponse2, type CurrentRacesResponse, type DiscardAgentVersionData, type DiscardAgentVersionError, type DiscardAgentVersionResponse, type DiscardRequest, type DiscardResponse, type ErrorCategory, type EvalRunNotFoundError, type EvaluationPhase, type EvaluationRunDetail, type EvaluationRunPublic, type EvaluationRunStatus, type EvaluationRunStatusPublic, type FileTooLargeError, type GetAgentVersionCodeData, type GetAgentVersionCodeError, type GetAgentVersionCodeResponse, type GetAgentVersionData, type GetAgentVersionError, type GetAgentVersionProblemsData, type GetAgentVersionProblemsError, type GetAgentVersionProblemsResponse, type GetAgentVersionResponse, type GetAgentVersionRunsData, type GetAgentVersionRunsError, type GetAgentVersionRunsResponse, type GetAgentVersionStatusData, type GetAgentVersionStatusError, type GetAgentVersionStatusResponse, type GetAgentVersionVarianceData, type GetAgentVersionVarianceError, type GetAgentVersionVarianceResponse, type GetArtifactDownloadUrlData, type GetArtifactDownloadUrlError, type GetArtifactDownloadUrlResponse, type GetAuditEventsData, type GetAuditEventsError, type GetAuditEventsResponse, type GetChutesAuthStatusError, type GetChutesAuthStatusResponse, type GetCurrentRaceError, type GetCurrentRaceResponse, type GetCurrentRacesError, type GetCurrentRacesResponse, type GetCurrentSuiteError, type GetCurrentSuiteResponse, type GetEvaluationRunData, type GetEvaluationRunError, type GetEvaluationRunResponse, type GetInferenceModelsError, type GetInferenceModelsResponse, type GetLeaderboardData, type GetLeaderboardError, type GetLeaderboardResponse, type GetOwnedAgentVersionStatusData, type GetOwnedAgentVersionStatusError, type GetOwnedAgentVersionStatusResponse, type GetPendingEvaluationsData, type GetPendingEvaluationsError, type GetPendingEvaluationsResponse, type GetRaceDetailData, type GetRaceDetailError, type GetRaceDetailResponse, type GetRaceDiagnosticsData, type GetRaceDiagnosticsError, type GetRaceDiagnosticsResponse, type GetRaceHistoryData, type GetRaceHistoryError, type GetRaceHistoryResponse, type GetReaperStatsError, type GetReaperStatsResponse, type GetRunProblemsData, type GetRunProblemsError, type GetRunProblemsResponse, type GetRunningEvaluationsError, type GetRunningEvaluationsResponse, type GetSuiteProblemsData, type GetSuiteProblemsError, type GetSuiteProblemsResponse, type GetTopAgentError, type GetTopAgentResponse, type GetTopHistoryData, type GetTopHistoryError, type GetTopHistoryResponse, type GetTopMinerPayoutError, type GetTopMinerPayoutResponse, type GetValidatorScoresData, type GetValidatorScoresError, type GetValidatorScoresResponse, type GetValidatorsError, type GetValidatorsResponse, type HTTPValidationError, type HealthCheckError, type HealthCheckResponse, type HeartbeatData, type HeartbeatError, type HeartbeatRequest, type HeartbeatResponse, type HeartbeatResponse2, type InferenceModelsResponse, type InvalidAgentNameError, type InvalidArtifactTypeError, type InvalidFileError, type InvalidProblemIdError, type InvalidateEvaluationRunData, type InvalidateEvaluationRunError, type InvalidateEvaluationRunResponse, type InvalidateRunRequest, type JoinWaitlistData, type JoinWaitlistError, type JoinWaitlistResponse, type LeaderboardEntry, type LeaderboardResponse, type LeaseExpiredError, type ListAgentVersions1Data, type ListAgentVersions1Error, type ListAgentVersions1Response, type ListAgentVersionsData, type ListAgentVersionsError, type ListAgentVersionsResponse, type ListEvaluationRunsData, type ListEvaluationRunsError, type ListEvaluationRunsResponse, type ListMinerAgentsError, type ListMinerAgentsResponse, type ListMinersData, type ListMinersError, type ListMinersResponse, type ListSuitesError, type ListSuitesResponse, type ListValidatorsData, type ListValidatorsError, type ListValidatorsResponse, type LogoutData, type LogoutError, type LogoutResponse, type LogoutResponse2, type MinerAgentsResponse, type MinerNotFoundError, type MissingParameterError, type MissingScoreError, type NoActiveSuiteError, type NotRunOwnerError, type OroErrorCode, type PendingEvaluation, type PendingEvaluationSummary, type PendingEvaluationsResponse, type PresignUploadData, type PresignUploadError, type PresignUploadRequest, type PresignUploadResponse, type PresignUploadResponse2, type ProblemNotFoundError, type ProblemProgressEntry, type ProblemProgressUpdate, type ProblemPublic, type ProblemStatus, type ProgressUpdateRequest, type ProgressUpdateResponse, type RaceCurrentResponse, type RaceDetailResponse, type RaceDiagnosticsResponse, type RaceHistoryResponse, type RaceNotFoundError, type RacePublic, type RaceQualifierEntry, type RaceQualifierPublic, type RaceSummary, type RaceWorkItemEntry, type RateLimitExceededError, type ReaperStatsResponse, type ReevaluateAgentVersionData, type ReevaluateAgentVersionError, type ReevaluateAgentVersionResponse, type ReevaluateRequest, type ReevaluateResponse, type ReinstateAgentVersionData, type ReinstateAgentVersionError, type ReinstateAgentVersionResponse, type ReinstateEliminationData, type ReinstateEliminationError, type ReinstateEliminationRequest, type ReinstateEliminationResponse, type ReinstateEliminationResponse2, type ReinstateRequest, type RequestChallengeData, type RequestChallengeError, type RequestChallengeResponse, type RetryConfig, type RetryContext, type RunAlreadyCompleteError, type RunProblemsResponse, type RunningEvaluation, type ScoreBelowThresholdError, type SessionAuthConfig, SessionAuthManager, type SessionInfo, type SessionRequest, type SessionResponse, type SetTopAgentData, type SetTopAgentError, type SetTopAgentResponse, type SetTopRequest, type SetTopResponse, type StoreChutesTokenData, type StoreChutesTokenError, type StoreChutesTokenRequest, type StoreChutesTokenResponse, type SubmitAgentData, type SubmitAgentError, type SubmitAgentResponse, type SubmitAgentResponse2, type SuiteNotFoundError, type SuitePublic, type SuiteWithProblemsResponse, type TerminalStatus, type TopAgentResponse, type TopHistoryEntry, type TopHistoryResponse, type TopMinerPayoutResponse, type UnbanMinerData, type UnbanMinerError, type UnbanMinerResponse, type UnbanValidatorData, type UnbanValidatorError, type UnbanValidatorResponse, type UpdateProgressData, type UpdateProgressError, type UpdateProgressResponse, type ValidationError, type ValidationErrorError, type ValidatorCurrentAgent, type ValidatorNotFoundError, type ValidatorProblemResult, type ValidatorPublic, type ValidatorScoreSummary, type ValidatorScoresResponse, type ValidatorStatus, type WaitlistSignupRequest, type WaitlistSignupResponse, type WorkItemStatus, activateSuite, banMiner, banValidator, cancelAgentVersion, claimWork, classifyError, classifyStatus, clearMinerCooldown, client, closeQualifying, completeRun, computeDelay, configureBittensorAuth, configurePublicClient, configureSessionAuth, createRetryFetch, createSessionEndpoint, createSuite, discardAgentVersion, generateAuthHeaders, getAgentVersion, getAgentVersionCode, getAgentVersionProblems, getAgentVersionRuns, getAgentVersionStatus, getAgentVersionVariance, getArtifactDownloadUrl, getAuditEvents, getChutesAuthStatus, getCurrentRace, getCurrentRaces, getCurrentSuite, getErrorCode, getErrorDetail, getEvaluationRun, getInferenceModels, getLeaderboard, getOwnedAgentVersionStatus, getPendingEvaluations, getRaceDetail, getRaceDiagnostics, getRaceHistory, getReaperStats, getRunProblems, getRunningEvaluations, getSuiteProblems, getTopAgent, getTopHistory, getTopMinerPayout, getValidatorScores, getValidators, hasDetail, hasErrorCode, healthCheck, heartbeat, invalidateEvaluationRun, isTransient, isTransientError, joinWaitlist, listAgentVersions, listAgentVersions1, listEvaluationRuns, listMinerAgents, listMiners, listSuites, listValidators, logout, parseRetryAfter, presignUpload, reevaluateAgentVersion, reinstateAgentVersion, reinstateElimination, requestChallenge, setTopAgent, storeChutesToken, submitAgent, unbanMiner, unbanValidator, updateProgress };
|
package/dist/index.d.ts
CHANGED
|
@@ -86,6 +86,14 @@ type AdminAgentVersionEntry = {
|
|
|
86
86
|
* Whether this is the current top agent
|
|
87
87
|
*/
|
|
88
88
|
is_current_top?: boolean;
|
|
89
|
+
/**
|
|
90
|
+
* When the agent was eliminated from future races, if any
|
|
91
|
+
*/
|
|
92
|
+
eliminated_at?: (string | null);
|
|
93
|
+
/**
|
|
94
|
+
* Race number that eliminated this agent, if any
|
|
95
|
+
*/
|
|
96
|
+
eliminated_in_race_number?: (number | null);
|
|
89
97
|
/**
|
|
90
98
|
* Number of included successful runs in work item
|
|
91
99
|
*/
|
|
@@ -1326,6 +1334,15 @@ type HeartbeatResponse = {
|
|
|
1326
1334
|
type HTTPValidationError = {
|
|
1327
1335
|
detail?: Array<ValidationError>;
|
|
1328
1336
|
};
|
|
1337
|
+
/**
|
|
1338
|
+
* List of models available to ORO agents via the inference proxy.
|
|
1339
|
+
*/
|
|
1340
|
+
type InferenceModelsResponse = {
|
|
1341
|
+
/**
|
|
1342
|
+
* Allowed model identifiers
|
|
1343
|
+
*/
|
|
1344
|
+
models: Array<(string)>;
|
|
1345
|
+
};
|
|
1329
1346
|
type InvalidAgentNameError = {
|
|
1330
1347
|
/**
|
|
1331
1348
|
* Error message describing what went wrong
|
|
@@ -2073,6 +2090,26 @@ type ReevaluateResponse = {
|
|
|
2073
2090
|
*/
|
|
2074
2091
|
agent_version_id: string;
|
|
2075
2092
|
};
|
|
2093
|
+
type ReinstateEliminationRequest = {
|
|
2094
|
+
/**
|
|
2095
|
+
* Specific suite to reinstate elimination for
|
|
2096
|
+
*/
|
|
2097
|
+
suite_id?: (number | null);
|
|
2098
|
+
/**
|
|
2099
|
+
* Optional reason captured in the audit trail
|
|
2100
|
+
*/
|
|
2101
|
+
reason?: (string | null);
|
|
2102
|
+
};
|
|
2103
|
+
type ReinstateEliminationResponse = {
|
|
2104
|
+
/**
|
|
2105
|
+
* Agent version whose elimination was cleared
|
|
2106
|
+
*/
|
|
2107
|
+
agent_version_id: string;
|
|
2108
|
+
/**
|
|
2109
|
+
* Suite the elimination was cleared for
|
|
2110
|
+
*/
|
|
2111
|
+
suite_id: number;
|
|
2112
|
+
};
|
|
2076
2113
|
type ReinstateRequest = {
|
|
2077
2114
|
/**
|
|
2078
2115
|
* Specific suite to reinstate for
|
|
@@ -2870,6 +2907,8 @@ type JoinWaitlistData = {
|
|
|
2870
2907
|
};
|
|
2871
2908
|
type JoinWaitlistResponse = (WaitlistSignupResponse);
|
|
2872
2909
|
type JoinWaitlistError = (HTTPValidationError);
|
|
2910
|
+
type GetInferenceModelsResponse = (InferenceModelsResponse);
|
|
2911
|
+
type GetInferenceModelsError = unknown;
|
|
2873
2912
|
type RequestChallengeData = {
|
|
2874
2913
|
body: ChallengeRequest;
|
|
2875
2914
|
};
|
|
@@ -3040,6 +3079,17 @@ type ReinstateAgentVersionData = {
|
|
|
3040
3079
|
};
|
|
3041
3080
|
type ReinstateAgentVersionResponse = (DiscardResponse);
|
|
3042
3081
|
type ReinstateAgentVersionError = (AgentVersionNotFoundError | HTTPValidationError | NoActiveSuiteError);
|
|
3082
|
+
type ReinstateEliminationData = {
|
|
3083
|
+
body: ReinstateEliminationRequest;
|
|
3084
|
+
path: {
|
|
3085
|
+
/**
|
|
3086
|
+
* Agent version ID
|
|
3087
|
+
*/
|
|
3088
|
+
agent_version_id: string;
|
|
3089
|
+
};
|
|
3090
|
+
};
|
|
3091
|
+
type ReinstateEliminationResponse2 = (ReinstateEliminationResponse);
|
|
3092
|
+
type ReinstateEliminationError = (AgentVersionNotFoundError | HTTPValidationError | NoActiveSuiteError);
|
|
3043
3093
|
type SetTopAgentData = {
|
|
3044
3094
|
body: SetTopRequest;
|
|
3045
3095
|
path: {
|
|
@@ -3466,6 +3516,11 @@ declare const getRaceDetail: <ThrowOnError extends boolean = false>(options: Opt
|
|
|
3466
3516
|
* Submit an email to join the ORO waitlist.
|
|
3467
3517
|
*/
|
|
3468
3518
|
declare const joinWaitlist: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<JoinWaitlistData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WaitlistSignupResponse, HTTPValidationError, ThrowOnError>;
|
|
3519
|
+
/**
|
|
3520
|
+
* List allowed inference models
|
|
3521
|
+
* Returns the models available to ORO agents via the inference proxy.
|
|
3522
|
+
*/
|
|
3523
|
+
declare const getInferenceModels: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => _hey_api_client_fetch.RequestResult<InferenceModelsResponse, unknown, ThrowOnError>;
|
|
3469
3524
|
/**
|
|
3470
3525
|
* Request Challenge
|
|
3471
3526
|
* Request a challenge for wallet authentication.
|
|
@@ -3589,6 +3644,17 @@ declare const discardAgentVersion: <ThrowOnError extends boolean = false>(option
|
|
|
3589
3644
|
* Also reopens the work item so validators can claim work again.
|
|
3590
3645
|
*/
|
|
3591
3646
|
declare const reinstateAgentVersion: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<ReinstateAgentVersionData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DiscardResponse, ReinstateAgentVersionError, ThrowOnError>;
|
|
3647
|
+
/**
|
|
3648
|
+
* Reinstate an agent version that was eliminated after a race
|
|
3649
|
+
* Clear `eliminated_at` and `eliminated_in_race_id` on the aggregate.
|
|
3650
|
+
*
|
|
3651
|
+
* Use when an agent was eliminated due to a mis-evaluation, scoring bug, or
|
|
3652
|
+
* operational incident rather than genuine poor performance. The agent will
|
|
3653
|
+
* re-appear in `_find_scored_qualifiers` on the next qualifying evaluation.
|
|
3654
|
+
*
|
|
3655
|
+
* Idempotent: succeeds even if the aggregate is not currently eliminated.
|
|
3656
|
+
*/
|
|
3657
|
+
declare const reinstateElimination: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<ReinstateEliminationData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ReinstateEliminationResponse, ReinstateEliminationError, ThrowOnError>;
|
|
3592
3658
|
/**
|
|
3593
3659
|
* Set an agent version as the top agent for emissions
|
|
3594
3660
|
* Designate an agent version as the top agent for emissions.
|
|
@@ -4063,4 +4129,4 @@ declare class SessionAuthManager {
|
|
|
4063
4129
|
*/
|
|
4064
4130
|
declare function configureSessionAuth(baseUrl: string, config: SessionAuthConfig): SessionAuthManager;
|
|
4065
4131
|
|
|
4066
|
-
export { type ActivateSuiteData, type ActivateSuiteError, type ActivateSuiteResponse, type ActivateSuiteResponse2, type AdminAgentCodeResponse, type AdminAgentVersionEntry, type AdminAgentVersionsResponse, type AdminEvaluationRunEntry, type AdminEvaluationRunsResponse, type AdminMinerEntry, type AdminMinersResponse, type AdminValidatorEntry, type AdminValidatorsResponse, type AdmissionReason, type AdmissionStatus, type AgentLatestVersion, type AgentNotFoundError, type AgentPublic, type AgentVersionHistoryEntry, type AgentVersionNotFoundError, type AgentVersionProblemsResponse, type AgentVersionPublic, type AgentVersionScoreEntry, type AgentVersionState, type AgentVersionStatus, type AgentVersionVariance, type AgentVersionVarianceResponse, type AlreadyInvalidatedError, type ArtifactDownloadRequest, type ArtifactDownloadResponse, type ArtifactNotFoundError, type ArtifactNotReleasedError, type ArtifactReleaseState, type ArtifactType, type AtCapacityError, type AuditEventEntry, type AuditEventsResponse, type BanMinerData, type BanMinerError, type BanMinerResponse, type BanRequest, type BanResponse, type BanValidatorData, type BanValidatorError, type BanValidatorResponse, type BittensorAuthConfig, type Body_submit_agent, type CachedSession, type CancelAgentVersionData, type CancelAgentVersionError, type CancelAgentVersionResponse, type CancelRequest, type CancelResponse, type ChallengeRequest, type ChallengeResponse, type ChutesAuthStatusResponse, type ClaimWorkData, type ClaimWorkError, type ClaimWorkResponse, type ClaimWorkResponse2, type ClearCooldownResponse, type ClearMinerCooldownData, type ClearMinerCooldownError, type ClearMinerCooldownResponse, type CloseQualifyingError, type CloseQualifyingResponse, type CloseQualifyingResponse2, type CodeAnalysisError, type CompleteRunData, type CompleteRunError, type CompleteRunRequest, type CompleteRunResponse, type CompleteRunResponse2, type CooldownActiveError, type CreateSessionEndpointData, type CreateSessionEndpointError, type CreateSessionEndpointResponse, type CreateSuiteData, type CreateSuiteError, type CreateSuiteRequest, type CreateSuiteResponse, type CreateSuiteResponse2, type CurrentRacesResponse, type DiscardAgentVersionData, type DiscardAgentVersionError, type DiscardAgentVersionResponse, type DiscardRequest, type DiscardResponse, type ErrorCategory, type EvalRunNotFoundError, type EvaluationPhase, type EvaluationRunDetail, type EvaluationRunPublic, type EvaluationRunStatus, type EvaluationRunStatusPublic, type FileTooLargeError, type GetAgentVersionCodeData, type GetAgentVersionCodeError, type GetAgentVersionCodeResponse, type GetAgentVersionData, type GetAgentVersionError, type GetAgentVersionProblemsData, type GetAgentVersionProblemsError, type GetAgentVersionProblemsResponse, type GetAgentVersionResponse, type GetAgentVersionRunsData, type GetAgentVersionRunsError, type GetAgentVersionRunsResponse, type GetAgentVersionStatusData, type GetAgentVersionStatusError, type GetAgentVersionStatusResponse, type GetAgentVersionVarianceData, type GetAgentVersionVarianceError, type GetAgentVersionVarianceResponse, type GetArtifactDownloadUrlData, type GetArtifactDownloadUrlError, type GetArtifactDownloadUrlResponse, type GetAuditEventsData, type GetAuditEventsError, type GetAuditEventsResponse, type GetChutesAuthStatusError, type GetChutesAuthStatusResponse, type GetCurrentRaceError, type GetCurrentRaceResponse, type GetCurrentRacesError, type GetCurrentRacesResponse, type GetCurrentSuiteError, type GetCurrentSuiteResponse, type GetEvaluationRunData, type GetEvaluationRunError, type GetEvaluationRunResponse, type GetLeaderboardData, type GetLeaderboardError, type GetLeaderboardResponse, type GetOwnedAgentVersionStatusData, type GetOwnedAgentVersionStatusError, type GetOwnedAgentVersionStatusResponse, type GetPendingEvaluationsData, type GetPendingEvaluationsError, type GetPendingEvaluationsResponse, type GetRaceDetailData, type GetRaceDetailError, type GetRaceDetailResponse, type GetRaceDiagnosticsData, type GetRaceDiagnosticsError, type GetRaceDiagnosticsResponse, type GetRaceHistoryData, type GetRaceHistoryError, type GetRaceHistoryResponse, type GetReaperStatsError, type GetReaperStatsResponse, type GetRunProblemsData, type GetRunProblemsError, type GetRunProblemsResponse, type GetRunningEvaluationsError, type GetRunningEvaluationsResponse, type GetSuiteProblemsData, type GetSuiteProblemsError, type GetSuiteProblemsResponse, type GetTopAgentError, type GetTopAgentResponse, type GetTopHistoryData, type GetTopHistoryError, type GetTopHistoryResponse, type GetTopMinerPayoutError, type GetTopMinerPayoutResponse, type GetValidatorScoresData, type GetValidatorScoresError, type GetValidatorScoresResponse, type GetValidatorsError, type GetValidatorsResponse, type HTTPValidationError, type HealthCheckError, type HealthCheckResponse, type HeartbeatData, type HeartbeatError, type HeartbeatRequest, type HeartbeatResponse, type HeartbeatResponse2, type InvalidAgentNameError, type InvalidArtifactTypeError, type InvalidFileError, type InvalidProblemIdError, type InvalidateEvaluationRunData, type InvalidateEvaluationRunError, type InvalidateEvaluationRunResponse, type InvalidateRunRequest, type JoinWaitlistData, type JoinWaitlistError, type JoinWaitlistResponse, type LeaderboardEntry, type LeaderboardResponse, type LeaseExpiredError, type ListAgentVersions1Data, type ListAgentVersions1Error, type ListAgentVersions1Response, type ListAgentVersionsData, type ListAgentVersionsError, type ListAgentVersionsResponse, type ListEvaluationRunsData, type ListEvaluationRunsError, type ListEvaluationRunsResponse, type ListMinerAgentsError, type ListMinerAgentsResponse, type ListMinersData, type ListMinersError, type ListMinersResponse, type ListSuitesError, type ListSuitesResponse, type ListValidatorsData, type ListValidatorsError, type ListValidatorsResponse, type LogoutData, type LogoutError, type LogoutResponse, type LogoutResponse2, type MinerAgentsResponse, type MinerNotFoundError, type MissingParameterError, type MissingScoreError, type NoActiveSuiteError, type NotRunOwnerError, type OroErrorCode, type PendingEvaluation, type PendingEvaluationSummary, type PendingEvaluationsResponse, type PresignUploadData, type PresignUploadError, type PresignUploadRequest, type PresignUploadResponse, type PresignUploadResponse2, type ProblemNotFoundError, type ProblemProgressEntry, type ProblemProgressUpdate, type ProblemPublic, type ProblemStatus, type ProgressUpdateRequest, type ProgressUpdateResponse, type RaceCurrentResponse, type RaceDetailResponse, type RaceDiagnosticsResponse, type RaceHistoryResponse, type RaceNotFoundError, type RacePublic, type RaceQualifierEntry, type RaceQualifierPublic, type RaceSummary, type RaceWorkItemEntry, type RateLimitExceededError, type ReaperStatsResponse, type ReevaluateAgentVersionData, type ReevaluateAgentVersionError, type ReevaluateAgentVersionResponse, type ReevaluateRequest, type ReevaluateResponse, type ReinstateAgentVersionData, type ReinstateAgentVersionError, type ReinstateAgentVersionResponse, type ReinstateRequest, type RequestChallengeData, type RequestChallengeError, type RequestChallengeResponse, type RetryConfig, type RetryContext, type RunAlreadyCompleteError, type RunProblemsResponse, type RunningEvaluation, type ScoreBelowThresholdError, type SessionAuthConfig, SessionAuthManager, type SessionInfo, type SessionRequest, type SessionResponse, type SetTopAgentData, type SetTopAgentError, type SetTopAgentResponse, type SetTopRequest, type SetTopResponse, type StoreChutesTokenData, type StoreChutesTokenError, type StoreChutesTokenRequest, type StoreChutesTokenResponse, type SubmitAgentData, type SubmitAgentError, type SubmitAgentResponse, type SubmitAgentResponse2, type SuiteNotFoundError, type SuitePublic, type SuiteWithProblemsResponse, type TerminalStatus, type TopAgentResponse, type TopHistoryEntry, type TopHistoryResponse, type TopMinerPayoutResponse, type UnbanMinerData, type UnbanMinerError, type UnbanMinerResponse, type UnbanValidatorData, type UnbanValidatorError, type UnbanValidatorResponse, type UpdateProgressData, type UpdateProgressError, type UpdateProgressResponse, type ValidationError, type ValidationErrorError, type ValidatorCurrentAgent, type ValidatorNotFoundError, type ValidatorProblemResult, type ValidatorPublic, type ValidatorScoreSummary, type ValidatorScoresResponse, type ValidatorStatus, type WaitlistSignupRequest, type WaitlistSignupResponse, type WorkItemStatus, activateSuite, banMiner, banValidator, cancelAgentVersion, claimWork, classifyError, classifyStatus, clearMinerCooldown, client, closeQualifying, completeRun, computeDelay, configureBittensorAuth, configurePublicClient, configureSessionAuth, createRetryFetch, createSessionEndpoint, createSuite, discardAgentVersion, generateAuthHeaders, getAgentVersion, getAgentVersionCode, getAgentVersionProblems, getAgentVersionRuns, getAgentVersionStatus, getAgentVersionVariance, getArtifactDownloadUrl, getAuditEvents, getChutesAuthStatus, getCurrentRace, getCurrentRaces, getCurrentSuite, getErrorCode, getErrorDetail, getEvaluationRun, getLeaderboard, getOwnedAgentVersionStatus, getPendingEvaluations, getRaceDetail, getRaceDiagnostics, getRaceHistory, getReaperStats, getRunProblems, getRunningEvaluations, getSuiteProblems, getTopAgent, getTopHistory, getTopMinerPayout, getValidatorScores, getValidators, hasDetail, hasErrorCode, healthCheck, heartbeat, invalidateEvaluationRun, isTransient, isTransientError, joinWaitlist, listAgentVersions, listAgentVersions1, listEvaluationRuns, listMinerAgents, listMiners, listSuites, listValidators, logout, parseRetryAfter, presignUpload, reevaluateAgentVersion, reinstateAgentVersion, requestChallenge, setTopAgent, storeChutesToken, submitAgent, unbanMiner, unbanValidator, updateProgress };
|
|
4132
|
+
export { type ActivateSuiteData, type ActivateSuiteError, type ActivateSuiteResponse, type ActivateSuiteResponse2, type AdminAgentCodeResponse, type AdminAgentVersionEntry, type AdminAgentVersionsResponse, type AdminEvaluationRunEntry, type AdminEvaluationRunsResponse, type AdminMinerEntry, type AdminMinersResponse, type AdminValidatorEntry, type AdminValidatorsResponse, type AdmissionReason, type AdmissionStatus, type AgentLatestVersion, type AgentNotFoundError, type AgentPublic, type AgentVersionHistoryEntry, type AgentVersionNotFoundError, type AgentVersionProblemsResponse, type AgentVersionPublic, type AgentVersionScoreEntry, type AgentVersionState, type AgentVersionStatus, type AgentVersionVariance, type AgentVersionVarianceResponse, type AlreadyInvalidatedError, type ArtifactDownloadRequest, type ArtifactDownloadResponse, type ArtifactNotFoundError, type ArtifactNotReleasedError, type ArtifactReleaseState, type ArtifactType, type AtCapacityError, type AuditEventEntry, type AuditEventsResponse, type BanMinerData, type BanMinerError, type BanMinerResponse, type BanRequest, type BanResponse, type BanValidatorData, type BanValidatorError, type BanValidatorResponse, type BittensorAuthConfig, type Body_submit_agent, type CachedSession, type CancelAgentVersionData, type CancelAgentVersionError, type CancelAgentVersionResponse, type CancelRequest, type CancelResponse, type ChallengeRequest, type ChallengeResponse, type ChutesAuthStatusResponse, type ClaimWorkData, type ClaimWorkError, type ClaimWorkResponse, type ClaimWorkResponse2, type ClearCooldownResponse, type ClearMinerCooldownData, type ClearMinerCooldownError, type ClearMinerCooldownResponse, type CloseQualifyingError, type CloseQualifyingResponse, type CloseQualifyingResponse2, type CodeAnalysisError, type CompleteRunData, type CompleteRunError, type CompleteRunRequest, type CompleteRunResponse, type CompleteRunResponse2, type CooldownActiveError, type CreateSessionEndpointData, type CreateSessionEndpointError, type CreateSessionEndpointResponse, type CreateSuiteData, type CreateSuiteError, type CreateSuiteRequest, type CreateSuiteResponse, type CreateSuiteResponse2, type CurrentRacesResponse, type DiscardAgentVersionData, type DiscardAgentVersionError, type DiscardAgentVersionResponse, type DiscardRequest, type DiscardResponse, type ErrorCategory, type EvalRunNotFoundError, type EvaluationPhase, type EvaluationRunDetail, type EvaluationRunPublic, type EvaluationRunStatus, type EvaluationRunStatusPublic, type FileTooLargeError, type GetAgentVersionCodeData, type GetAgentVersionCodeError, type GetAgentVersionCodeResponse, type GetAgentVersionData, type GetAgentVersionError, type GetAgentVersionProblemsData, type GetAgentVersionProblemsError, type GetAgentVersionProblemsResponse, type GetAgentVersionResponse, type GetAgentVersionRunsData, type GetAgentVersionRunsError, type GetAgentVersionRunsResponse, type GetAgentVersionStatusData, type GetAgentVersionStatusError, type GetAgentVersionStatusResponse, type GetAgentVersionVarianceData, type GetAgentVersionVarianceError, type GetAgentVersionVarianceResponse, type GetArtifactDownloadUrlData, type GetArtifactDownloadUrlError, type GetArtifactDownloadUrlResponse, type GetAuditEventsData, type GetAuditEventsError, type GetAuditEventsResponse, type GetChutesAuthStatusError, type GetChutesAuthStatusResponse, type GetCurrentRaceError, type GetCurrentRaceResponse, type GetCurrentRacesError, type GetCurrentRacesResponse, type GetCurrentSuiteError, type GetCurrentSuiteResponse, type GetEvaluationRunData, type GetEvaluationRunError, type GetEvaluationRunResponse, type GetInferenceModelsError, type GetInferenceModelsResponse, type GetLeaderboardData, type GetLeaderboardError, type GetLeaderboardResponse, type GetOwnedAgentVersionStatusData, type GetOwnedAgentVersionStatusError, type GetOwnedAgentVersionStatusResponse, type GetPendingEvaluationsData, type GetPendingEvaluationsError, type GetPendingEvaluationsResponse, type GetRaceDetailData, type GetRaceDetailError, type GetRaceDetailResponse, type GetRaceDiagnosticsData, type GetRaceDiagnosticsError, type GetRaceDiagnosticsResponse, type GetRaceHistoryData, type GetRaceHistoryError, type GetRaceHistoryResponse, type GetReaperStatsError, type GetReaperStatsResponse, type GetRunProblemsData, type GetRunProblemsError, type GetRunProblemsResponse, type GetRunningEvaluationsError, type GetRunningEvaluationsResponse, type GetSuiteProblemsData, type GetSuiteProblemsError, type GetSuiteProblemsResponse, type GetTopAgentError, type GetTopAgentResponse, type GetTopHistoryData, type GetTopHistoryError, type GetTopHistoryResponse, type GetTopMinerPayoutError, type GetTopMinerPayoutResponse, type GetValidatorScoresData, type GetValidatorScoresError, type GetValidatorScoresResponse, type GetValidatorsError, type GetValidatorsResponse, type HTTPValidationError, type HealthCheckError, type HealthCheckResponse, type HeartbeatData, type HeartbeatError, type HeartbeatRequest, type HeartbeatResponse, type HeartbeatResponse2, type InferenceModelsResponse, type InvalidAgentNameError, type InvalidArtifactTypeError, type InvalidFileError, type InvalidProblemIdError, type InvalidateEvaluationRunData, type InvalidateEvaluationRunError, type InvalidateEvaluationRunResponse, type InvalidateRunRequest, type JoinWaitlistData, type JoinWaitlistError, type JoinWaitlistResponse, type LeaderboardEntry, type LeaderboardResponse, type LeaseExpiredError, type ListAgentVersions1Data, type ListAgentVersions1Error, type ListAgentVersions1Response, type ListAgentVersionsData, type ListAgentVersionsError, type ListAgentVersionsResponse, type ListEvaluationRunsData, type ListEvaluationRunsError, type ListEvaluationRunsResponse, type ListMinerAgentsError, type ListMinerAgentsResponse, type ListMinersData, type ListMinersError, type ListMinersResponse, type ListSuitesError, type ListSuitesResponse, type ListValidatorsData, type ListValidatorsError, type ListValidatorsResponse, type LogoutData, type LogoutError, type LogoutResponse, type LogoutResponse2, type MinerAgentsResponse, type MinerNotFoundError, type MissingParameterError, type MissingScoreError, type NoActiveSuiteError, type NotRunOwnerError, type OroErrorCode, type PendingEvaluation, type PendingEvaluationSummary, type PendingEvaluationsResponse, type PresignUploadData, type PresignUploadError, type PresignUploadRequest, type PresignUploadResponse, type PresignUploadResponse2, type ProblemNotFoundError, type ProblemProgressEntry, type ProblemProgressUpdate, type ProblemPublic, type ProblemStatus, type ProgressUpdateRequest, type ProgressUpdateResponse, type RaceCurrentResponse, type RaceDetailResponse, type RaceDiagnosticsResponse, type RaceHistoryResponse, type RaceNotFoundError, type RacePublic, type RaceQualifierEntry, type RaceQualifierPublic, type RaceSummary, type RaceWorkItemEntry, type RateLimitExceededError, type ReaperStatsResponse, type ReevaluateAgentVersionData, type ReevaluateAgentVersionError, type ReevaluateAgentVersionResponse, type ReevaluateRequest, type ReevaluateResponse, type ReinstateAgentVersionData, type ReinstateAgentVersionError, type ReinstateAgentVersionResponse, type ReinstateEliminationData, type ReinstateEliminationError, type ReinstateEliminationRequest, type ReinstateEliminationResponse, type ReinstateEliminationResponse2, type ReinstateRequest, type RequestChallengeData, type RequestChallengeError, type RequestChallengeResponse, type RetryConfig, type RetryContext, type RunAlreadyCompleteError, type RunProblemsResponse, type RunningEvaluation, type ScoreBelowThresholdError, type SessionAuthConfig, SessionAuthManager, type SessionInfo, type SessionRequest, type SessionResponse, type SetTopAgentData, type SetTopAgentError, type SetTopAgentResponse, type SetTopRequest, type SetTopResponse, type StoreChutesTokenData, type StoreChutesTokenError, type StoreChutesTokenRequest, type StoreChutesTokenResponse, type SubmitAgentData, type SubmitAgentError, type SubmitAgentResponse, type SubmitAgentResponse2, type SuiteNotFoundError, type SuitePublic, type SuiteWithProblemsResponse, type TerminalStatus, type TopAgentResponse, type TopHistoryEntry, type TopHistoryResponse, type TopMinerPayoutResponse, type UnbanMinerData, type UnbanMinerError, type UnbanMinerResponse, type UnbanValidatorData, type UnbanValidatorError, type UnbanValidatorResponse, type UpdateProgressData, type UpdateProgressError, type UpdateProgressResponse, type ValidationError, type ValidationErrorError, type ValidatorCurrentAgent, type ValidatorNotFoundError, type ValidatorProblemResult, type ValidatorPublic, type ValidatorScoreSummary, type ValidatorScoresResponse, type ValidatorStatus, type WaitlistSignupRequest, type WaitlistSignupResponse, type WorkItemStatus, activateSuite, banMiner, banValidator, cancelAgentVersion, claimWork, classifyError, classifyStatus, clearMinerCooldown, client, closeQualifying, completeRun, computeDelay, configureBittensorAuth, configurePublicClient, configureSessionAuth, createRetryFetch, createSessionEndpoint, createSuite, discardAgentVersion, generateAuthHeaders, getAgentVersion, getAgentVersionCode, getAgentVersionProblems, getAgentVersionRuns, getAgentVersionStatus, getAgentVersionVariance, getArtifactDownloadUrl, getAuditEvents, getChutesAuthStatus, getCurrentRace, getCurrentRaces, getCurrentSuite, getErrorCode, getErrorDetail, getEvaluationRun, getInferenceModels, getLeaderboard, getOwnedAgentVersionStatus, getPendingEvaluations, getRaceDetail, getRaceDiagnostics, getRaceHistory, getReaperStats, getRunProblems, getRunningEvaluations, getSuiteProblems, getTopAgent, getTopHistory, getTopMinerPayout, getValidatorScores, getValidators, hasDetail, hasErrorCode, healthCheck, heartbeat, invalidateEvaluationRun, isTransient, isTransientError, joinWaitlist, listAgentVersions, listAgentVersions1, listEvaluationRuns, listMinerAgents, listMiners, listSuites, listValidators, logout, parseRetryAfter, presignUpload, reevaluateAgentVersion, reinstateAgentVersion, reinstateElimination, requestChallenge, setTopAgent, storeChutesToken, submitAgent, unbanMiner, unbanValidator, updateProgress };
|
package/dist/index.js
CHANGED
|
@@ -66,6 +66,7 @@ __export(index_exports, {
|
|
|
66
66
|
getErrorCode: () => getErrorCode,
|
|
67
67
|
getErrorDetail: () => getErrorDetail,
|
|
68
68
|
getEvaluationRun: () => getEvaluationRun,
|
|
69
|
+
getInferenceModels: () => getInferenceModels,
|
|
69
70
|
getLeaderboard: () => getLeaderboard,
|
|
70
71
|
getOwnedAgentVersionStatus: () => getOwnedAgentVersionStatus,
|
|
71
72
|
getPendingEvaluations: () => getPendingEvaluations,
|
|
@@ -101,6 +102,7 @@ __export(index_exports, {
|
|
|
101
102
|
presignUpload: () => presignUpload,
|
|
102
103
|
reevaluateAgentVersion: () => reevaluateAgentVersion,
|
|
103
104
|
reinstateAgentVersion: () => reinstateAgentVersion,
|
|
105
|
+
reinstateElimination: () => reinstateElimination,
|
|
104
106
|
requestChallenge: () => requestChallenge,
|
|
105
107
|
setTopAgent: () => setTopAgent,
|
|
106
108
|
storeChutesToken: () => storeChutesToken,
|
|
@@ -240,6 +242,12 @@ var joinWaitlist = (options) => {
|
|
|
240
242
|
url: "/v1/public/waitlist"
|
|
241
243
|
});
|
|
242
244
|
};
|
|
245
|
+
var getInferenceModels = (options) => {
|
|
246
|
+
return (options?.client ?? client).get({
|
|
247
|
+
...options,
|
|
248
|
+
url: "/v1/public/inference/models"
|
|
249
|
+
});
|
|
250
|
+
};
|
|
243
251
|
var requestChallenge = (options) => {
|
|
244
252
|
return (options?.client ?? client).post({
|
|
245
253
|
...options,
|
|
@@ -371,6 +379,12 @@ var reinstateAgentVersion = (options) => {
|
|
|
371
379
|
url: "/v1/admin/agent-versions/{agent_version_id}/reinstate"
|
|
372
380
|
});
|
|
373
381
|
};
|
|
382
|
+
var reinstateElimination = (options) => {
|
|
383
|
+
return (options?.client ?? client).post({
|
|
384
|
+
...options,
|
|
385
|
+
url: "/v1/admin/agent-versions/{agent_version_id}/reinstate-elimination"
|
|
386
|
+
});
|
|
387
|
+
};
|
|
374
388
|
var setTopAgent = (options) => {
|
|
375
389
|
return (options?.client ?? client).post({
|
|
376
390
|
...options,
|
|
@@ -883,6 +897,7 @@ function configureSessionAuth(baseUrl, config) {
|
|
|
883
897
|
getErrorCode,
|
|
884
898
|
getErrorDetail,
|
|
885
899
|
getEvaluationRun,
|
|
900
|
+
getInferenceModels,
|
|
886
901
|
getLeaderboard,
|
|
887
902
|
getOwnedAgentVersionStatus,
|
|
888
903
|
getPendingEvaluations,
|
|
@@ -918,6 +933,7 @@ function configureSessionAuth(baseUrl, config) {
|
|
|
918
933
|
presignUpload,
|
|
919
934
|
reevaluateAgentVersion,
|
|
920
935
|
reinstateAgentVersion,
|
|
936
|
+
reinstateElimination,
|
|
921
937
|
requestChallenge,
|
|
922
938
|
setTopAgent,
|
|
923
939
|
storeChutesToken,
|
package/dist/index.mjs
CHANGED
|
@@ -127,6 +127,12 @@ var joinWaitlist = (options) => {
|
|
|
127
127
|
url: "/v1/public/waitlist"
|
|
128
128
|
});
|
|
129
129
|
};
|
|
130
|
+
var getInferenceModels = (options) => {
|
|
131
|
+
return (options?.client ?? client).get({
|
|
132
|
+
...options,
|
|
133
|
+
url: "/v1/public/inference/models"
|
|
134
|
+
});
|
|
135
|
+
};
|
|
130
136
|
var requestChallenge = (options) => {
|
|
131
137
|
return (options?.client ?? client).post({
|
|
132
138
|
...options,
|
|
@@ -258,6 +264,12 @@ var reinstateAgentVersion = (options) => {
|
|
|
258
264
|
url: "/v1/admin/agent-versions/{agent_version_id}/reinstate"
|
|
259
265
|
});
|
|
260
266
|
};
|
|
267
|
+
var reinstateElimination = (options) => {
|
|
268
|
+
return (options?.client ?? client).post({
|
|
269
|
+
...options,
|
|
270
|
+
url: "/v1/admin/agent-versions/{agent_version_id}/reinstate-elimination"
|
|
271
|
+
});
|
|
272
|
+
};
|
|
261
273
|
var setTopAgent = (options) => {
|
|
262
274
|
return (options?.client ?? client).post({
|
|
263
275
|
...options,
|
|
@@ -769,6 +781,7 @@ export {
|
|
|
769
781
|
getErrorCode,
|
|
770
782
|
getErrorDetail,
|
|
771
783
|
getEvaluationRun,
|
|
784
|
+
getInferenceModels,
|
|
772
785
|
getLeaderboard,
|
|
773
786
|
getOwnedAgentVersionStatus,
|
|
774
787
|
getPendingEvaluations,
|
|
@@ -804,6 +817,7 @@ export {
|
|
|
804
817
|
presignUpload,
|
|
805
818
|
reevaluateAgentVersion,
|
|
806
819
|
reinstateAgentVersion,
|
|
820
|
+
reinstateElimination,
|
|
807
821
|
requestChallenge,
|
|
808
822
|
setTopAgent,
|
|
809
823
|
storeChutesToken,
|
package/package.json
CHANGED
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
|
|
3
3
|
import { createClient, createConfig, type OptionsLegacyParser, formDataBodySerializer } from '@hey-api/client-fetch';
|
|
4
|
-
import type { HealthCheckError, HealthCheckResponse, ListSuitesError, ListSuitesResponse, GetCurrentSuiteError, GetCurrentSuiteResponse, GetSuiteProblemsData, GetSuiteProblemsError, GetSuiteProblemsResponse, GetLeaderboardData, GetLeaderboardError, GetLeaderboardResponse, GetTopAgentError, GetTopAgentResponse, GetTopMinerPayoutError, GetTopMinerPayoutResponse, GetTopHistoryData, GetTopHistoryError, GetTopHistoryResponse, GetAgentVersionStatusData, GetAgentVersionStatusError, GetAgentVersionStatusResponse, GetAgentVersionRunsData, GetAgentVersionRunsError, GetAgentVersionRunsResponse, GetAgentVersionProblemsData, GetAgentVersionProblemsError, GetAgentVersionProblemsResponse, GetAgentVersionData, GetAgentVersionError, GetAgentVersionResponse, GetArtifactDownloadUrlData, GetArtifactDownloadUrlError, GetArtifactDownloadUrlResponse, GetEvaluationRunData, GetEvaluationRunError, GetEvaluationRunResponse, GetValidatorsError, GetValidatorsResponse, GetRunningEvaluationsError, GetRunningEvaluationsResponse, GetPendingEvaluationsData, GetPendingEvaluationsError, GetPendingEvaluationsResponse, GetCurrentRaceError, GetCurrentRaceResponse, GetRaceHistoryData, GetRaceHistoryError, GetRaceHistoryResponse, GetRaceDetailData, GetRaceDetailError, GetRaceDetailResponse, JoinWaitlistData, JoinWaitlistError, JoinWaitlistResponse, RequestChallengeData, RequestChallengeError, RequestChallengeResponse, CreateSessionEndpointData, CreateSessionEndpointError, CreateSessionEndpointResponse, LogoutData, LogoutError, LogoutResponse2, SubmitAgentData, SubmitAgentError, SubmitAgentResponse2, StoreChutesTokenData, StoreChutesTokenError, StoreChutesTokenResponse, GetChutesAuthStatusError, GetChutesAuthStatusResponse, ListMinerAgentsError, ListMinerAgentsResponse, ListAgentVersionsData, ListAgentVersionsError, ListAgentVersionsResponse, GetOwnedAgentVersionStatusData, GetOwnedAgentVersionStatusError, GetOwnedAgentVersionStatusResponse, ClaimWorkData, ClaimWorkError, ClaimWorkResponse2, HeartbeatData, HeartbeatError, HeartbeatResponse2, UpdateProgressData, UpdateProgressError, UpdateProgressResponse, PresignUploadData, PresignUploadError, PresignUploadResponse2, CompleteRunData, CompleteRunError, CompleteRunResponse2, GetRunProblemsData, GetRunProblemsError, GetRunProblemsResponse, BanMinerData, BanMinerError, BanMinerResponse, UnbanMinerData, UnbanMinerError, UnbanMinerResponse, BanValidatorData, BanValidatorError, BanValidatorResponse, UnbanValidatorData, UnbanValidatorError, UnbanValidatorResponse, DiscardAgentVersionData, DiscardAgentVersionError, DiscardAgentVersionResponse, ReinstateAgentVersionData, ReinstateAgentVersionError, ReinstateAgentVersionResponse, SetTopAgentData, SetTopAgentError, SetTopAgentResponse, InvalidateEvaluationRunData, InvalidateEvaluationRunError, InvalidateEvaluationRunResponse, ReevaluateAgentVersionData, ReevaluateAgentVersionError, ReevaluateAgentVersionResponse, CancelAgentVersionData, CancelAgentVersionError, CancelAgentVersionResponse, CreateSuiteData, CreateSuiteError, CreateSuiteResponse2, ActivateSuiteData, ActivateSuiteError, ActivateSuiteResponse2, GetAuditEventsData, GetAuditEventsError, GetAuditEventsResponse, GetReaperStatsError, GetReaperStatsResponse, ClearMinerCooldownData, ClearMinerCooldownError, ClearMinerCooldownResponse, ListMinersData, ListMinersError, ListMinersResponse, ListValidatorsData, ListValidatorsError, ListValidatorsResponse, ListAgentVersions1Data, ListAgentVersions1Error, ListAgentVersions1Response, ListEvaluationRunsData, ListEvaluationRunsError, ListEvaluationRunsResponse, GetValidatorScoresData, GetValidatorScoresError, GetValidatorScoresResponse, GetAgentVersionVarianceData, GetAgentVersionVarianceError, GetAgentVersionVarianceResponse, GetAgentVersionCodeData, GetAgentVersionCodeError, GetAgentVersionCodeResponse, GetCurrentRacesError, GetCurrentRacesResponse, GetRaceDiagnosticsData, GetRaceDiagnosticsError, GetRaceDiagnosticsResponse, CloseQualifyingError, CloseQualifyingResponse2 } from './types.gen';
|
|
4
|
+
import type { HealthCheckError, HealthCheckResponse, ListSuitesError, ListSuitesResponse, GetCurrentSuiteError, GetCurrentSuiteResponse, GetSuiteProblemsData, GetSuiteProblemsError, GetSuiteProblemsResponse, GetLeaderboardData, GetLeaderboardError, GetLeaderboardResponse, GetTopAgentError, GetTopAgentResponse, GetTopMinerPayoutError, GetTopMinerPayoutResponse, GetTopHistoryData, GetTopHistoryError, GetTopHistoryResponse, GetAgentVersionStatusData, GetAgentVersionStatusError, GetAgentVersionStatusResponse, GetAgentVersionRunsData, GetAgentVersionRunsError, GetAgentVersionRunsResponse, GetAgentVersionProblemsData, GetAgentVersionProblemsError, GetAgentVersionProblemsResponse, GetAgentVersionData, GetAgentVersionError, GetAgentVersionResponse, GetArtifactDownloadUrlData, GetArtifactDownloadUrlError, GetArtifactDownloadUrlResponse, GetEvaluationRunData, GetEvaluationRunError, GetEvaluationRunResponse, GetValidatorsError, GetValidatorsResponse, GetRunningEvaluationsError, GetRunningEvaluationsResponse, GetPendingEvaluationsData, GetPendingEvaluationsError, GetPendingEvaluationsResponse, GetCurrentRaceError, GetCurrentRaceResponse, GetRaceHistoryData, GetRaceHistoryError, GetRaceHistoryResponse, GetRaceDetailData, GetRaceDetailError, GetRaceDetailResponse, JoinWaitlistData, JoinWaitlistError, JoinWaitlistResponse, GetInferenceModelsError, GetInferenceModelsResponse, RequestChallengeData, RequestChallengeError, RequestChallengeResponse, CreateSessionEndpointData, CreateSessionEndpointError, CreateSessionEndpointResponse, LogoutData, LogoutError, LogoutResponse2, SubmitAgentData, SubmitAgentError, SubmitAgentResponse2, StoreChutesTokenData, StoreChutesTokenError, StoreChutesTokenResponse, GetChutesAuthStatusError, GetChutesAuthStatusResponse, ListMinerAgentsError, ListMinerAgentsResponse, ListAgentVersionsData, ListAgentVersionsError, ListAgentVersionsResponse, GetOwnedAgentVersionStatusData, GetOwnedAgentVersionStatusError, GetOwnedAgentVersionStatusResponse, ClaimWorkData, ClaimWorkError, ClaimWorkResponse2, HeartbeatData, HeartbeatError, HeartbeatResponse2, UpdateProgressData, UpdateProgressError, UpdateProgressResponse, PresignUploadData, PresignUploadError, PresignUploadResponse2, CompleteRunData, CompleteRunError, CompleteRunResponse2, GetRunProblemsData, GetRunProblemsError, GetRunProblemsResponse, BanMinerData, BanMinerError, BanMinerResponse, UnbanMinerData, UnbanMinerError, UnbanMinerResponse, BanValidatorData, BanValidatorError, BanValidatorResponse, UnbanValidatorData, UnbanValidatorError, UnbanValidatorResponse, DiscardAgentVersionData, DiscardAgentVersionError, DiscardAgentVersionResponse, ReinstateAgentVersionData, ReinstateAgentVersionError, ReinstateAgentVersionResponse, ReinstateEliminationData, ReinstateEliminationError, ReinstateEliminationResponse2, SetTopAgentData, SetTopAgentError, SetTopAgentResponse, InvalidateEvaluationRunData, InvalidateEvaluationRunError, InvalidateEvaluationRunResponse, ReevaluateAgentVersionData, ReevaluateAgentVersionError, ReevaluateAgentVersionResponse, CancelAgentVersionData, CancelAgentVersionError, CancelAgentVersionResponse, CreateSuiteData, CreateSuiteError, CreateSuiteResponse2, ActivateSuiteData, ActivateSuiteError, ActivateSuiteResponse2, GetAuditEventsData, GetAuditEventsError, GetAuditEventsResponse, GetReaperStatsError, GetReaperStatsResponse, ClearMinerCooldownData, ClearMinerCooldownError, ClearMinerCooldownResponse, ListMinersData, ListMinersError, ListMinersResponse, ListValidatorsData, ListValidatorsError, ListValidatorsResponse, ListAgentVersions1Data, ListAgentVersions1Error, ListAgentVersions1Response, ListEvaluationRunsData, ListEvaluationRunsError, ListEvaluationRunsResponse, GetValidatorScoresData, GetValidatorScoresError, GetValidatorScoresResponse, GetAgentVersionVarianceData, GetAgentVersionVarianceError, GetAgentVersionVarianceResponse, GetAgentVersionCodeData, GetAgentVersionCodeError, GetAgentVersionCodeResponse, GetCurrentRacesError, GetCurrentRacesResponse, GetRaceDiagnosticsData, GetRaceDiagnosticsError, GetRaceDiagnosticsResponse, CloseQualifyingError, CloseQualifyingResponse2 } from './types.gen';
|
|
5
5
|
|
|
6
6
|
export const client = createClient(createConfig());
|
|
7
7
|
|
|
@@ -236,6 +236,17 @@ export const joinWaitlist = <ThrowOnError extends boolean = false>(options: Opti
|
|
|
236
236
|
});
|
|
237
237
|
};
|
|
238
238
|
|
|
239
|
+
/**
|
|
240
|
+
* List allowed inference models
|
|
241
|
+
* Returns the models available to ORO agents via the inference proxy.
|
|
242
|
+
*/
|
|
243
|
+
export const getInferenceModels = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => {
|
|
244
|
+
return (options?.client ?? client).get<GetInferenceModelsResponse, GetInferenceModelsError, ThrowOnError>({
|
|
245
|
+
...options,
|
|
246
|
+
url: '/v1/public/inference/models'
|
|
247
|
+
});
|
|
248
|
+
};
|
|
249
|
+
|
|
239
250
|
/**
|
|
240
251
|
* Request Challenge
|
|
241
252
|
* Request a challenge for wallet authentication.
|
|
@@ -490,6 +501,23 @@ export const reinstateAgentVersion = <ThrowOnError extends boolean = false>(opti
|
|
|
490
501
|
});
|
|
491
502
|
};
|
|
492
503
|
|
|
504
|
+
/**
|
|
505
|
+
* Reinstate an agent version that was eliminated after a race
|
|
506
|
+
* Clear `eliminated_at` and `eliminated_in_race_id` on the aggregate.
|
|
507
|
+
*
|
|
508
|
+
* Use when an agent was eliminated due to a mis-evaluation, scoring bug, or
|
|
509
|
+
* operational incident rather than genuine poor performance. The agent will
|
|
510
|
+
* re-appear in `_find_scored_qualifiers` on the next qualifying evaluation.
|
|
511
|
+
*
|
|
512
|
+
* Idempotent: succeeds even if the aggregate is not currently eliminated.
|
|
513
|
+
*/
|
|
514
|
+
export const reinstateElimination = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<ReinstateEliminationData, ThrowOnError>) => {
|
|
515
|
+
return (options?.client ?? client).post<ReinstateEliminationResponse2, ReinstateEliminationError, ThrowOnError>({
|
|
516
|
+
...options,
|
|
517
|
+
url: '/v1/admin/agent-versions/{agent_version_id}/reinstate-elimination'
|
|
518
|
+
});
|
|
519
|
+
};
|
|
520
|
+
|
|
493
521
|
/**
|
|
494
522
|
* Set an agent version as the top agent for emissions
|
|
495
523
|
* Designate an agent version as the top agent for emissions.
|
|
@@ -87,6 +87,14 @@ export type AdminAgentVersionEntry = {
|
|
|
87
87
|
* Whether this is the current top agent
|
|
88
88
|
*/
|
|
89
89
|
is_current_top?: boolean;
|
|
90
|
+
/**
|
|
91
|
+
* When the agent was eliminated from future races, if any
|
|
92
|
+
*/
|
|
93
|
+
eliminated_at?: (string | null);
|
|
94
|
+
/**
|
|
95
|
+
* Race number that eliminated this agent, if any
|
|
96
|
+
*/
|
|
97
|
+
eliminated_in_race_number?: (number | null);
|
|
90
98
|
/**
|
|
91
99
|
* Number of included successful runs in work item
|
|
92
100
|
*/
|
|
@@ -1389,6 +1397,16 @@ export type HTTPValidationError = {
|
|
|
1389
1397
|
detail?: Array<ValidationError>;
|
|
1390
1398
|
};
|
|
1391
1399
|
|
|
1400
|
+
/**
|
|
1401
|
+
* List of models available to ORO agents via the inference proxy.
|
|
1402
|
+
*/
|
|
1403
|
+
export type InferenceModelsResponse = {
|
|
1404
|
+
/**
|
|
1405
|
+
* Allowed model identifiers
|
|
1406
|
+
*/
|
|
1407
|
+
models: Array<(string)>;
|
|
1408
|
+
};
|
|
1409
|
+
|
|
1392
1410
|
export type InvalidAgentNameError = {
|
|
1393
1411
|
/**
|
|
1394
1412
|
* Error message describing what went wrong
|
|
@@ -2177,6 +2195,28 @@ export type ReevaluateResponse = {
|
|
|
2177
2195
|
agent_version_id: string;
|
|
2178
2196
|
};
|
|
2179
2197
|
|
|
2198
|
+
export type ReinstateEliminationRequest = {
|
|
2199
|
+
/**
|
|
2200
|
+
* Specific suite to reinstate elimination for
|
|
2201
|
+
*/
|
|
2202
|
+
suite_id?: (number | null);
|
|
2203
|
+
/**
|
|
2204
|
+
* Optional reason captured in the audit trail
|
|
2205
|
+
*/
|
|
2206
|
+
reason?: (string | null);
|
|
2207
|
+
};
|
|
2208
|
+
|
|
2209
|
+
export type ReinstateEliminationResponse = {
|
|
2210
|
+
/**
|
|
2211
|
+
* Agent version whose elimination was cleared
|
|
2212
|
+
*/
|
|
2213
|
+
agent_version_id: string;
|
|
2214
|
+
/**
|
|
2215
|
+
* Suite the elimination was cleared for
|
|
2216
|
+
*/
|
|
2217
|
+
suite_id: number;
|
|
2218
|
+
};
|
|
2219
|
+
|
|
2180
2220
|
export type ReinstateRequest = {
|
|
2181
2221
|
/**
|
|
2182
2222
|
* Specific suite to reinstate for
|
|
@@ -3060,6 +3100,10 @@ export type JoinWaitlistResponse = (WaitlistSignupResponse);
|
|
|
3060
3100
|
|
|
3061
3101
|
export type JoinWaitlistError = (HTTPValidationError);
|
|
3062
3102
|
|
|
3103
|
+
export type GetInferenceModelsResponse = (InferenceModelsResponse);
|
|
3104
|
+
|
|
3105
|
+
export type GetInferenceModelsError = unknown;
|
|
3106
|
+
|
|
3063
3107
|
export type RequestChallengeData = {
|
|
3064
3108
|
body: ChallengeRequest;
|
|
3065
3109
|
};
|
|
@@ -3291,6 +3335,20 @@ export type ReinstateAgentVersionResponse = (DiscardResponse);
|
|
|
3291
3335
|
|
|
3292
3336
|
export type ReinstateAgentVersionError = (AgentVersionNotFoundError | HTTPValidationError | NoActiveSuiteError);
|
|
3293
3337
|
|
|
3338
|
+
export type ReinstateEliminationData = {
|
|
3339
|
+
body: ReinstateEliminationRequest;
|
|
3340
|
+
path: {
|
|
3341
|
+
/**
|
|
3342
|
+
* Agent version ID
|
|
3343
|
+
*/
|
|
3344
|
+
agent_version_id: string;
|
|
3345
|
+
};
|
|
3346
|
+
};
|
|
3347
|
+
|
|
3348
|
+
export type ReinstateEliminationResponse2 = (ReinstateEliminationResponse);
|
|
3349
|
+
|
|
3350
|
+
export type ReinstateEliminationError = (AgentVersionNotFoundError | HTTPValidationError | NoActiveSuiteError);
|
|
3351
|
+
|
|
3294
3352
|
export type SetTopAgentData = {
|
|
3295
3353
|
body: SetTopRequest;
|
|
3296
3354
|
path: {
|