mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
Bedrock serves OpenAI GPT, Grok, and Gemma 4 models only on Mantle, its OpenAI-compatible endpoint; Converse rejects them as invalid model identifiers. models.dev v2 lists each model's APIs, so the catalog now maps models without a Converse API to the Responses API at the Mantle URL, and amazon-bedrock dispatches them to a thin wrapper around the OpenAI Responses implementation that fills in the region and authenticates with a Bedrock API key. IAM and profile credentials are not supported for Mantle models yet.
12 lines
859 B
JavaScript
12 lines
859 B
JavaScript
// The oldest pi version that receives model catalogs published from this checkout.
|
|
// pi.dev keeps one catalog per minimum version; clients older than this keep the
|
|
// last catalog published under the previous minimum and stop receiving updates.
|
|
//
|
|
// Bump this only when generated model metadata requires behavior unavailable in
|
|
// older pi clients, in the same commit as the change that requires it.
|
|
// 1.2.1: kimi-coding models use openai-completions at /coding/v1; older clients only
|
|
// implement anthropic-messages for kimi-coding and ignore a model's api.
|
|
// 1.4.1: google-vertex serves Claude through anthropic-messages; older clients only
|
|
// implement Google's Vertex API for google-vertex. amazon-bedrock serves Mantle-only
|
|
// models through openai-responses; older clients only implement Converse for it.
|
|
export const MINIMUM_PI_VERSION = "1.4.1";
|