Jadpo is experimental and not ready for production. These docs follow the compiler's main branch as of 5 Nov 2026. What's built · Install 0.3.0
jadpo
ReferenceErrors

ErrorsAI · rule

ai.settings_invalid

Application's ai: holds something it doesn't take, or leaves out what it needs.

Area 21, AI; not declinable; the next step is usually the agent's.

ai: names connection:, a connection with driver: Driver.openai_compatible or a package that fills ai, and models:, each model a ModelId setting, with default among them. A key it doesn't take, a connection that answers no model, a model that isn't a ModelId setting and models: without default are each this error; keep_content:, not built yet, is toolchain.not_built_yet.

example
config {    drafting_model: Text {        default: "meta-llama/Llama-3.1-8B-Instruct"    }    model_url: Url {        default: "http://localhost:8000/v1"    }}
example
application {    connections: {        local_model: {            driver: Driver.openai_compatible            url: config.model_url        }    }    ai: {        connection: local_model        models: {            default: config.drafting_model        }        limits: {            per_day: {                tokens: 2000000            }        }    }}
jadpo checkcheck failed: 1 error, 2 files

error Model default must be a ModelId setting

--> app.jadpo:11:22

   |11 |             default: config.drafting_model   |                      ^^^^^^^^^^^^^^^^^^^^^ `drafting_model` is `Text`
reason
Each model is a ModelId setting, its provider and name as Hugging Face writes a repository, openai/gpt-4.1-mini, so a model is never anything else.
next
Declare drafting_model: ModelId in config.jadpo (agent)
rule
ai.settings_invalid
help
https://jadpo.dev/docs/errors/ai.settings_invalid

Markdown for agents: /docs/errors/ai.settings_invalid.md.Built from Jadpo main at aee2e8f.