Interface: InstallOptions
Defined in: prompt-api/src/index.ts:40
Extends
Properties
app?
optionalapp?:string
Defined in: client/dist/index.d.ts:962
Name shown to the visitor in the approval window.
Inherited from
id?
optionalid?:string
Defined in: client/dist/index.d.ts:1107
Provider id, default bridge.
Inherited from
maxSteps?
optionalmaxSteps?:number
Defined in: prompt-api/src/language-model.ts:96
Most tool calls per prompt. Default 20.
Inherited from
needs?
optionalneeds?:SiteNeeds
Defined in: client/dist/index.d.ts:964
What the site's features need: Leuria recommends an AI and model that fit.
Inherited from
provider?
optionalprovider?:Provider
Defined in: prompt-api/src/language-model.ts:92
The AI behind LanguageModel. Default: leuria() with these options.
Inherited from
retries?
optionalretries?:number
Defined in: prompt-api/src/language-model.ts:98
How many times an answer that misses the responseConstraint goes back to the AI. Default 2.
Inherited from
skills?
optionalskills?:string[]
Defined in: client/dist/index.d.ts:972
Skills that guide the visitor's AI on this site, in the npx skills
syntax: owner/repo, owner/repo@skill, owner/repo/path#commit, a
GitHub URL, or a path on this site (/ for its
.well-known/agent-skills). Leuria fetches them, shows them to the
visitor, and gives them to the AI in this site's conversations only.
Inherited from
storage?
optionalstorage?:Pick<Storage,"getItem"|"setItem"|"removeItem">
Defined in: client/dist/index.d.ts:974
Where the site's token is kept. Default: localStorage, else memory.
Inherited from
system?
optionalsystem?:string
Defined in: prompt-api/src/language-model.ts:94
Instructions for the AI when the page gives no system prompt.
Inherited from
url?
optionalurl?:string
Defined in: client/dist/index.d.ts:960
Engine URL. Default DEFAULT_URL.
Inherited from
when?
optionalwhen?:"unavailable"|"missing"|"always"
Defined in: prompt-api/src/index.ts:49
When Leuria provides LanguageModel:
"unavailable"(default): where the browser has none, or has one that can't run on this device. The browser's own model is used wherever it can run, even if it must download first."missing": only where the browser has none."always": always, in place of the browser's.