# resolveModelProfile

**Kind:** Function

**Source:** [`atloria-monorepo/libs/agent-core/src/runtime/model-profiles.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/libs/agent-core/src/runtime/model-profiles.ts#L224)

Resolves the capability profile to use for a given request.

## Signature

```ts
function resolveModelProfile(modelId: string | undefined, explicit: ModelCapabilityProfile): ModelCapabilityProfile
```

## Parameters

| Name | Type |
|---|---|
| `modelId` | `string | undefined` |
| `explicit` | `ModelCapabilityProfile` |

**Returns:** `ModelCapabilityProfile`
