---
title: RELKIT_AGENT_MODEL_ERROR
description: "Model returned an error."
pagination: false
search:
  keywords: [RELKIT_AGENT_MODEL_ERROR]
sidebar:
  icon: triangle-alert
---

{/* Generated by apps/docs/scripts/generate.ts. Do not edit. */}

**Model returned an error.**

## What happened

The model provider returned an error or a response the agent could not use.

## What to do

Check the provider's error in the full output, your API key and quota, and the provider's status page, then try again.

Reported by `@relkit/langchain`, `relkit/diagnostics`.

See [all error codes](/docs/errors).
