<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mindattic.com/wiki/docs/index.php?action=history&amp;feed=atom&amp;title=Prose%2Fagent%2FPROVIDER_PROFILES</id>
	<title>Prose/agent/PROVIDER PROFILES - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mindattic.com/wiki/docs/index.php?action=history&amp;feed=atom&amp;title=Prose%2Fagent%2FPROVIDER_PROFILES"/>
	<link rel="alternate" type="text/html" href="https://mindattic.com/wiki/docs/index.php?title=Prose/agent/PROVIDER_PROFILES&amp;action=history"/>
	<updated>2026-12-05T18:18:50Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.3</generator>
	<entry>
		<id>https://mindattic.com/wiki/docs/index.php?title=Prose/agent/PROVIDER_PROFILES&amp;diff=752&amp;oldid=prev</id>
		<title>Docs Sync: md2wiki: sync from MindAttic.Docs</title>
		<link rel="alternate" type="text/html" href="https://mindattic.com/wiki/docs/index.php?title=Prose/agent/PROVIDER_PROFILES&amp;diff=752&amp;oldid=prev"/>
		<updated>2026-11-29T20:31:04Z</updated>

		<summary type="html">&lt;p&gt;md2wiki: sync from MindAttic.Docs&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Provider profiles =&lt;br /&gt;
&lt;br /&gt;
The engine must select a model by capability and task role, not by a vendor-specific global switch. A profile has an id, role, provider family, model, context and output limits, structured output support, prompt-cache support, price class, and an ordered list of compatible fallbacks.&lt;br /&gt;
&lt;br /&gt;
The initial roles are &amp;lt;code&amp;gt;prose_generation&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;structured_extraction&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;reader_probe&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;review_judge&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;embedding&amp;lt;/code&amp;gt;. A provider is eligible only when it advertises the role&amp;#039;s required capabilities; an Anthropic model id must never be sent to an OpenAI, Gemini, Kimi, or other incompatible hop.&lt;br /&gt;
&lt;br /&gt;
Provider adapters implement the existing &amp;lt;code&amp;gt;ILlmService&amp;lt;/code&amp;gt; contract. &amp;lt;code&amp;gt;LlmRouter&amp;lt;/code&amp;gt; resolves a role profile, skips unavailable providers, drops incompatible pinned model ids, records every hop in &amp;lt;code&amp;gt;LlmCallHistories&amp;lt;/code&amp;gt;, and returns the provider/model actually used. Adding an OpenAI-compatible endpoint is configuration plus credential registration, not a new service call site.&lt;br /&gt;
&lt;br /&gt;
Embeddings remain a separate capability. A profile change that changes vector dimensions requires an explicit reindex plan and must not silently mix vectors from different models.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;md2wiki-crumb&amp;quot;&amp;gt;Part of [[Prose]].&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;md2wiki-source&amp;quot;&amp;gt;From [https://github.com/mindattic/Prose/blob/main/docs/agent/PROVIDER_PROFILES.md Prose/docs/agent/PROVIDER_PROFILES.md] via MindAttic.Docs; synced automatically, so edit the repo, not this page.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Prose]]&lt;/div&gt;</summary>
		<author><name>Docs Sync</name></author>
	</entry>
</feed>