Skip to main content

Interface: CompletionHop

Defined in: packages/agentos/src/api/runtime/completionGateway.ts:91

One entry of the hop list a route resolves to.

Properties​

entry?​

optional entry: ResolvedFallbackEntry

Defined in: packages/agentos/src/api/runtime/completionGateway.ts:95

The chain entry behind a fallback hop, with its role in the walk when the policy chain gave it one.


model?​

optional model: string

Defined in: packages/agentos/src/api/runtime/completionGateway.ts:93


ownCredentials?​

optional ownCredentials: boolean

Defined in: packages/agentos/src/api/runtime/completionGateway.ts:101

The primary only: whether the route's own key and base URL are for this provider. False when a router picked another one, which then runs on its own credentials.


provider​

provider: string

Defined in: packages/agentos/src/api/runtime/completionGateway.ts:92