diff --git a/src/server/providers/adapters/xiaomi.test.ts b/src/server/providers/adapters/xiaomi.test.ts index 5a62f55c..ac38de14 100644 --- a/src/server/providers/adapters/xiaomi.test.ts +++ b/src/server/providers/adapters/xiaomi.test.ts @@ -283,7 +283,7 @@ describe('Xiaomi native documentation', () => { expect(() => xiaomiSpec([ { - text: fixture('openai-api.md').replace( + text: fixture('openai-api-post.md').replace( '## Request Address', '## Missing', ), diff --git a/src/server/providers/fixtures/xiaomi/README.md b/src/server/providers/fixtures/xiaomi/README.md index d1fcd766..77762219 100644 --- a/src/server/providers/fixtures/xiaomi/README.md +++ b/src/server/providers/fixtures/xiaomi/README.md @@ -1,4 +1,6 @@ -These are verbatim Xiaomi MiMo documentation responses fetched on 2026-10-09. +These are verbatim Xiaomi MiMo documentation responses. +Catalog, pricing, and thinking pages were fetched on 2026-10-09. +API reference pages were fetched on 2026-11-20. They are regression fixtures; production sync fetches the provider URLs directly. Sources under `https://mimo.mi.com/static/docs/`: @@ -6,10 +8,10 @@ Sources under `https://mimo.mi.com/static/docs/`: - `quick-start/summary/model.md` - `price/pay-as-you-go.md` - `quick-start/usage-guide/text-generation/deep-thinking.md` -- `api/chat/openai-api.md` -- `api/chat/responses.md` -- `api/chat/anthropic-api.md` -- `api/audio/Speech-Recognition.md` -- `api/audio/tts.md` +- `api/chat/openai-api-post.md` +- `api/chat/responses-post.md` +- `api/chat/anthropic-api-post.md` +- `api/audio/Speech-Recognition-post.md` +- `api/audio/tts-post.md` The `.txt` suffix preserves source bytes without Markdown formatting. diff --git a/src/server/providers/fixtures/xiaomi/Speech-Recognition.md.txt b/src/server/providers/fixtures/xiaomi/Speech-Recognition-post.md.txt similarity index 100% rename from src/server/providers/fixtures/xiaomi/Speech-Recognition.md.txt rename to src/server/providers/fixtures/xiaomi/Speech-Recognition-post.md.txt diff --git a/src/server/providers/fixtures/xiaomi/anthropic-api.md.txt b/src/server/providers/fixtures/xiaomi/anthropic-api-post.md.txt similarity index 94% rename from src/server/providers/fixtures/xiaomi/anthropic-api.md.txt rename to src/server/providers/fixtures/xiaomi/anthropic-api-post.md.txt index bf4b4b20..c52635e4 100644 --- a/src/server/providers/fixtures/xiaomi/anthropic-api.md.txt +++ b/src/server/providers/fixtures/xiaomi/anthropic-api-post.md.txt @@ -66,7 +66,7 @@ Content-Type: application/json "name": "Array of content parts", "type": "array", "isBold": false, - "description": "An array of content parts with a defined type. Such text, image, audio, video, tool use, tool result, and thinking.
Currently, the mimo-v2.6-flash, mimo-v2.6-pro, mimo-v2.6-pro-ultraspeed and mimo-v2.5 models support image, audio or video input.
", + "description": "An array of content parts with a defined type. Such text, image, audio, video, tool use, tool result, and thinking.
Currently, the mimo-v2.6-flash, mimo-v2.6-pro, mimo-v2.6-pro-ultraspeed models support image, audio or video input.
", "children": [ { "name": "Text", @@ -698,14 +698,14 @@ Content-Type: application/json "type": "string", "isBold": true, "required": true, - "description": "The model that will complete your prompt.
Available options: mimo-v2.6-flash, mimo-v2.6-pro, mimo-v2.6-pro-ultraspeed, mimo-v2.5-pro, mimo-v2.5" + "description": "The model that will complete your prompt.
Available options: mimo-v2.6-flash, mimo-v2.6-pro, mimo-v2.6-pro-ultraspeed" }, { "name": "max_tokens", "type": "integer", "isBold": true, "required": false, - "description": "The maximum number of tokens to generate before stopping.
Note that our models may stop before reaching this maximum. This parameter only specifies the absolute maximum number of tokens to generate.
Required range: [1, 131072]" + "description": "The maximum number of tokens to generate before stopping.
Note that our models may stop before reaching this maximum. This parameter only specifies the absolute maximum number of tokens to generate.
Required range: [1, 131072]" }, { "name": "stop_sequences", @@ -766,21 +766,21 @@ Content-Type: application/json "type": "number", "isBold": true, "required": false, - "description": "Sampling temperature controls the diversity of the text generated by the model.
The higher the temperature, the more diverse the generated text will be; conversely, the lower the temperature, the more deterministic the generated text will be.
In thinking mode, the mimo-v2.6-flash, mimo-v2.6-pro, mimo-v2.6-pro-ultraspeed, mimo-v2.5-pro and mimo-v2.5 models do not support customizing the temperature parameter. Even if this parameter is passed in, it will be forcibly overridden and take effect with the model's recommended default value of 1.0.
Required range: [0, 1.5]" + "description": "Sampling temperature controls the diversity of the text generated by the model.
The higher the temperature, the more diverse the generated text will be; conversely, the lower the temperature, the more deterministic the generated text will be.
In thinking mode, the mimo-v2.6-flash, mimo-v2.6-pro, mimo-v2.6-pro-ultraspeed models do not support customizing the temperature parameter. Even if this parameter is passed in, it will be forcibly overridden and take effect with the model's recommended default value of 1.0.
Required range: [0, 1.5]" }, { "name": "thinking", "type": "object", "isBold": true, "required": false, - "description": "Configuration for enabling model's extended thinking.
Note: During the multi-turn tool calls process in thinking mode, the model returns a thinking content block alongside tool_use content block. To continue the conversation, it is recommended to keep all previous thinking content block in the messages array for each subsequent request to achieve the best performance.
In thinking mode, the mimo-v2.6-flash, mimo-v2.6-pro, mimo-v2.6-pro-ultraspeed, mimo-v2.5-pro and mimo-v2.5 models do not support customizing the temperature and top_p parameters. Even if these parameters are passed in, the actual effective values will be forcibly set by the model to its recommended default values of 1.0 and 0.95.
", + "description": "Configuration for enabling model's extended thinking.
Note: During the multi-turn tool calls process in thinking mode, the model returns a thinking content block alongside tool_use content block. To continue the conversation, it is recommended to keep all previous thinking content block in the messages array for each subsequent request to achieve the best performance.
In thinking mode, the mimo-v2.6-flash, mimo-v2.6-pro, mimo-v2.6-pro-ultraspeed models do not support customizing the temperature and top_p parameters. Even if these parameters are passed in, the actual effective values will be forcibly set by the model to its recommended default values of 1.0 and 0.95.
", "children": [ { "name": "type", "type": "string", "isBold": true, "required": true, - "description": "Available options: enabled, disabled" + "description": "Available options: enabled, disabled" } ] }, @@ -875,7 +875,7 @@ Content-Type: application/json "isBold": true, "required": false, "defaultValue": "0.95", - "description": "Use nucleus sampling.
In nucleus sampling, we compute the cumulative distribution over all the options for each subsequent token in decreasing probability order and cut it off once it reaches a particular probability specified by top_p. You should either alter temperature or top_p, but not both.
Recommended for advanced use cases only. You usually only need to use temperature.
In thinking mode, the mimo-v2.6-flash, mimo-v2.6-pro, mimo-v2.6-pro-ultraspeed, mimo-v2.5-pro and mimo-v2.5 models do not support customizing the top_p parameter. Even if this parameter is passed in, it will be forcibly overridden and take effect with the model's recommended default value of 0.95.
Required range: [0.01, 1.0]" + "description": "Use nucleus sampling.
In nucleus sampling, we compute the cumulative distribution over all the options for each subsequent token in decreasing probability order and cut it off once it reaches a particular probability specified by top_p. You should either alter temperature or top_p, but not both.
Recommended for advanced use cases only. You usually only need to use temperature.
In thinking mode, the mimo-v2.6-flash, mimo-v2.6-pro, mimo-v2.6-pro-ultraspeed models do not support customizing the top_p parameter. Even if this parameter is passed in, it will be forcibly overridden and take effect with the model's recommended default value of 0.95.
Required range: [0.01, 1.0]" } ]`} /> diff --git a/src/server/providers/fixtures/xiaomi/openai-api.md.txt b/src/server/providers/fixtures/xiaomi/openai-api-post.md.txt similarity index 94% rename from src/server/providers/fixtures/xiaomi/openai-api.md.txt rename to src/server/providers/fixtures/xiaomi/openai-api-post.md.txt index bf62a628..fa82bd1e 100644 --- a/src/server/providers/fixtures/xiaomi/openai-api.md.txt +++ b/src/server/providers/fixtures/xiaomi/openai-api-post.md.txt @@ -210,7 +210,7 @@ Content-Type: application/json "name": "Array of content parts", "type": "array", "isBold": false, - "description": "An array of content parts with a defined type. Supported options differ based on the model being used to generate the response. Can contain text, image, audio or video inputs.
Currently, the mimo-v2.6-flash, mimo-v2.6-pro, mimo-v2.6-pro-ultraspeed and mimo-v2.5 models support image, audio or video input.
", + "description": "An array of content parts with a defined type. Supported options differ based on the model being used to generate the response. Can contain text, image, audio or video inputs.
Currently, the mimo-v2.6-flash, mimo-v2.6-pro, mimo-v2.6-pro-ultraspeed models support image, audio or video input.
", "children": [ { "name": "Text content part", @@ -504,7 +504,7 @@ Content-Type: application/json "name": "Array of content parts", "type": "array", "isBold": false, - "description": "An array of content parts with a defined type. For tool messages, text, image, audio and video are supported.
Currently, the mimo-v2.6-flash, mimo-v2.6-pro, mimo-v2.6-pro-ultraspeed and mimo-v2.5 models support image, audio or video input.
", + "description": "An array of content parts with a defined type. For tool messages, text, image, audio and video are supported.
Currently, the mimo-v2.6-flash, mimo-v2.6-pro, mimo-v2.6-pro-ultraspeed models support image, audio or video input.
", "children": [ { "name": "Text content part", @@ -657,7 +657,7 @@ Content-Type: application/json "type": "string", "isBold": true, "required": true, - "description": "Model ID is used to generate the response.
Available options: mimo-v2.6-flash, mimo-v2.6-pro, mimo-v2.6-pro-ultraspeed, mimo-v2.5-pro, mimo-v2.5" + "description": "Model ID is used to generate the response.
Available options: mimo-v2.6-flash, mimo-v2.6-pro, mimo-v2.6-pro-ultraspeed" }, { "name": "frequency_penalty", @@ -678,7 +678,7 @@ Content-Type: application/json ], "isBold": true, "required": false, - "description": "An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens.
Required range: [1, 131072]" + "description": "An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens.
Required range: [1, 131072]" }, { "name": "presence_penalty", @@ -758,14 +758,14 @@ Content-Type: application/json "type": "object", "isBold": true, "required": false, - "description": "This parameter is used to control whether the model enables the chain of thought.
Note: During the multi-turn tool calls process in thinking mode, the model returns a reasoning_content field alongside tool_calls. To continue the conversation, it is recommended to keep all previous reasoning_content in the messages array for each subsequent request to achieve the best performance.
In thinking mode, the mimo-v2.6-flash, mimo-v2.6-pro, mimo-v2.6-pro-ultraspeed, mimo-v2.5-pro and mimo-v2.5 models do not support customizing the temperature and top_p parameters. Even if these parameters are passed in, the actual effective values will be forcibly set by the model to its recommended default values of 1.0 and 0.95.
", + "description": "This parameter is used to control whether the model enables the chain of thought.
Note: During the multi-turn tool calls process in thinking mode, the model returns a reasoning_content field alongside tool_calls. To continue the conversation, it is recommended to keep all previous reasoning_content in the messages array for each subsequent request to achieve the best performance.
In thinking mode, the mimo-v2.6-flash, mimo-v2.6-pro, mimo-v2.6-pro-ultraspeed models do not support customizing the temperature and top_p parameters. Even if these parameters are passed in, the actual effective values will be forcibly set by the model to its recommended default values of 1.0 and 0.95.
", "children": [ { "name": "type", "type": "string", "isBold": true, "required": true, - "description": "Whether to enable the chain of thought.
Available options: enabled, disabled" + "description": "Whether to enable the chain of thought.
Available options: enabled, disabled" } ] }, @@ -774,7 +774,7 @@ Content-Type: application/json "type": "number", "isBold": true, "required": false, - "description": "What sampling temperature to use, between 0 and 1.5. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. We generally recommend altering this or top_p but not both.
In thinking mode, the mimo-v2.6-flash, mimo-v2.6-pro, mimo-v2.6-pro-ultraspeed, mimo-v2.5-pro and mimo-v2.5 models do not support customizing the temperature parameter. Even if this parameter is passed in, it will be forcibly overridden and take effect with the model's recommended default value of 1.0.
Required range: [0, 1.5]" + "description": "What sampling temperature to use, between 0 and 1.5. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. We generally recommend altering this or top_p but not both.
In thinking mode, the mimo-v2.6-flash, mimo-v2.6-pro, mimo-v2.6-pro-ultraspeed models do not support customizing the temperature parameter. Even if this parameter is passed in, it will be forcibly overridden and take effect with the model's recommended default value of 1.0.
Required range: [0, 1.5]" }, { "name": "tool_choice", @@ -946,7 +946,7 @@ Content-Type: application/json "isBold": true, "required": false, "defaultValue": "0.95", - "description": "The probability threshold for nucleus sampling, which controls the diversity of the text that the model generates. A higher top_p value results in more diverse text. A lower top_p value results in more deterministic text.
Because both temperature and top_p control the diversity of the generated text, we recommend that you set only one of them.
In thinking mode, the mimo-v2.6-flash, mimo-v2.6-pro, mimo-v2.6-pro-ultraspeed, mimo-v2.5-pro, mimo-v2.5 models do not support customizing the top_p parameter. Even if this parameter is passed in, it will be forcibly overridden and take effect with the model's recommended default value of 0.95.
Required range: [0.01, 1.0]" + "description": "The probability threshold for nucleus sampling, which controls the diversity of the text that the model generates. A higher top_p value results in more diverse text. A lower top_p value results in more deterministic text.
Because both temperature and top_p control the diversity of the generated text, we recommend that you set only one of them.
In thinking mode, the mimo-v2.6-flash, mimo-v2.6-pro, mimo-v2.6-pro-ultraspeed models do not support customizing the top_p parameter. Even if this parameter is passed in, it will be forcibly overridden and take effect with the model's recommended default value of 0.95.
Required range: [0.01, 1.0]" } ]`} /> diff --git a/src/server/providers/fixtures/xiaomi/responses.md.txt b/src/server/providers/fixtures/xiaomi/responses-post.md.txt similarity index 97% rename from src/server/providers/fixtures/xiaomi/responses.md.txt rename to src/server/providers/fixtures/xiaomi/responses-post.md.txt index c1082590..46cee1a6 100644 --- a/src/server/providers/fixtures/xiaomi/responses.md.txt +++ b/src/server/providers/fixtures/xiaomi/responses-post.md.txt @@ -94,7 +94,7 @@ Content-Type: application/json "name": "ResponseInputMessageContentList", "type": "array", "isBold": false, - "description": "A list of one or many input items to the model, containing different content types.
Currently, the mimo-v2.6-flash, mimo-v2.6-pro, mimo-v2.6-pro-ultraspeed and mimo-v2.5 models support image, audio or video input.
", + "description": "A list of one or many input items to the model, containing different content types.
Currently, the mimo-v2.6-flash, mimo-v2.6-pro, mimo-v2.6-pro-ultraspeed models support image, audio or video input.
", "children": [ { "name": "ResponseInputText", @@ -231,7 +231,7 @@ Content-Type: application/json "type": "array", "isBold": true, "required": true, - "description": "A list of one or many input items to the model, containing different content types.
Currently, the mimo-v2.6-flash, mimo-v2.6-pro, mimo-v2.6-pro-ultraspeed and mimo-v2.5 models support image, audio or video input.
", + "description": "A list of one or many input items to the model, containing different content types.
Currently, the mimo-v2.6-flash, mimo-v2.6-pro, mimo-v2.6-pro-ultraspeed models support image, audio or video input.
", "children": [ { "name": "ResponseInputText", @@ -519,7 +519,7 @@ Content-Type: application/json "name": "OutputContentList", "type": "array", "isBold": false, - "description": "An array of content outputs for the function tool call.
Currently, the mimo-v2.6-flash, mimo-v2.6-pro, mimo-v2.6-pro-ultraspeed and mimo-v2.5 models support image, audio or video input.
", + "description": "An array of content outputs for the function tool call.
Currently, the mimo-v2.6-flash, mimo-v2.6-pro, mimo-v2.6-pro-ultraspeed models support image, audio or video input.
", "children": [ { "name": "ResponseInputTextContent", @@ -670,7 +670,7 @@ Content-Type: application/json "type": "array", "isBold": true, "required": true, - "description": "Plaintext, image, audio, video or encrypted content sent between agents.
Currently, the mimo-v2.6-flash, mimo-v2.6-pro, mimo-v2.6-pro-ultraspeed and mimo-v2.5 models support image, audio or video input.
", + "description": "Plaintext, image, audio, video or encrypted content sent between agents.
Currently, the mimo-v2.6-flash, mimo-v2.6-pro, mimo-v2.6-pro-ultraspeed models support image, audio or video input.
", "children": [ { "name": "ResponseInputTextContent", @@ -1275,7 +1275,7 @@ Content-Type: application/json "name": "OutputContentList", "type": "array", "isBold": false, - "description": "An array of content outputs for the function tool call.
Currently, the mimo-v2.6-flash, mimo-v2.6-pro, mimo-v2.6-pro-ultraspeed and mimo-v2.5 models support image, audio or video input.
", + "description": "An array of content outputs for the function tool call.
Currently, the mimo-v2.6-flash, mimo-v2.6-pro, mimo-v2.6-pro-ultraspeed models support image, audio or video input.
", "children": [ { "name": "ResponseInputText", @@ -1466,14 +1466,14 @@ Content-Type: application/json "type": "integer", "isBold": true, "required": false, - "description": "An upper bound for the number of tokens that can be generated for a response, including visible output tokens and reasoning tokens.
Required range: [1, 131072]" + "description": "An upper bound for the number of tokens that can be generated for a response, including visible output tokens and reasoning tokens.
Required range: [1, 131072]" }, { "name": "model", "type": "string", "isBold": true, "required": true, - "description": "Model ID used to generate the response.
Available options: mimo-v2.6-flash, mimo-v2.6-pro, mimo-v2.6-pro-ultraspeed, mimo-v2.5-pro, mimo-v2.5" + "description": "Model ID used to generate the response.
Available options: mimo-v2.6-flash, mimo-v2.6-pro, mimo-v2.6-pro-ultraspeed" }, { "name": "stream", @@ -1488,14 +1488,14 @@ Content-Type: application/json "type": "object", "isBold": true, "required": false, - "description": "Configuration options for reasoning models.
Note: During the multi-turn tool calls process in thinking mode, the model returns the reasoning content alongside the tool calls field. To continue the conversation, it is recommended to keep all previous reasoning content in the input array for each subsequent request to achieve the best performance.
In thinking mode, the mimo-v2.6-flash, mimo-v2.6-pro, mimo-v2.6-pro-ultraspeed, mimo-v2.5-pro and mimo-v2.5 models do not support customizing the temperature and top_p parameters. Even if these parameters are passed in, the actual effective values will be forcibly set by the model to its recommended default values of 1.0 and 0.95.
", + "description": "Configuration options for reasoning models.
Note: During the multi-turn tool calls process in thinking mode, the model returns the reasoning content alongside the tool calls field. To continue the conversation, it is recommended to keep all previous reasoning content in the input array for each subsequent request to achieve the best performance.
In thinking mode, the mimo-v2.6-flash, mimo-v2.6-pro, mimo-v2.6-pro-ultraspeed models do not support customizing the temperature and top_p parameters. Even if these parameters are passed in, the actual effective values will be forcibly set by the model to its recommended default values of 1.0 and 0.95.
", "children": [ { "name": "effort", "type": "string", "isBold": true, "required": true, - "description": "Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
Custom tuning of reasoning effort is currently unsupported. When set to none, reasoning is disabled; all other valid values map to enabled reasoning. The value minimal is mapped to low. Values xhigh, max and ultra are mapped to high.
Available options: none, minimal, low, medium, high, xhigh, max, ultra" + "description": "Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
Custom tuning of reasoning effort is currently unsupported. When set to none, reasoning is disabled; all other valid values map to enabled reasoning. The value minimal is mapped to low. Values xhigh, max and ultra are mapped to high.
Available options: none, minimal, low, medium, high, xhigh, max, ultra" } ] }, @@ -1504,7 +1504,7 @@ Content-Type: application/json "type": "number", "isBold": true, "required": false, - "description": "What sampling temperature to use, between 0 and 1.5. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. We generally recommend altering this or top_p but not both.
In thinking mode, the mimo-v2.6-flash, mimo-v2.6-pro, mimo-v2.6-pro-ultraspeed, mimo-v2.5-pro and mimo-v2.5 models do not support customizing the temperature parameter. Even if this parameter is passed in, it will be forcibly overridden and take effect with the model's recommended default value of 1.0.
Required range: [0, 1.5]" + "description": "What sampling temperature to use, between 0 and 1.5. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. We generally recommend altering this or top_p but not both.
In thinking mode, the mimo-v2.6-flash, mimo-v2.6-pro, mimo-v2.6-pro-ultraspeed models do not support customizing the temperature parameter. Even if this parameter is passed in, it will be forcibly overridden and take effect with the model's recommended default value of 1.0.
Required range: [0, 1.5]" }, { "name": "text", @@ -1878,7 +1878,7 @@ Content-Type: application/json "isBold": true, "required": false, "defaultValue": "0.95", - "description": "An alternative to sampling with temperature, called nucleus sampling. We generally recommend altering this or temperature but not both.
In thinking mode, the mimo-v2.6-flash, mimo-v2.6-pro, mimo-v2.6-pro-ultraspeed, mimo-v2.5-pro and mimo-v2.5 models do not support customizing the top_p parameter. Even if this parameter is passed in, it will be forcibly overridden and take effect with the model's recommended default value of 0.95.
Required range: [0.01, 1.0]" + "description": "An alternative to sampling with temperature, called nucleus sampling. We generally recommend altering this or temperature but not both.
In thinking mode, the mimo-v2.6-flash, mimo-v2.6-pro, mimo-v2.6-pro-ultraspeed models do not support customizing the top_p parameter. Even if this parameter is passed in, it will be forcibly overridden and take effect with the model's recommended default value of 0.95.
Required range: [0.01, 1.0]" } ]`} /> diff --git a/src/server/providers/fixtures/xiaomi/tts.md.txt b/src/server/providers/fixtures/xiaomi/tts-post.md.txt similarity index 100% rename from src/server/providers/fixtures/xiaomi/tts.md.txt rename to src/server/providers/fixtures/xiaomi/tts-post.md.txt diff --git a/src/server/providers/xiaomi-docs.ts b/src/server/providers/xiaomi-docs.ts index 9b2c56e1..20d73c01 100644 --- a/src/server/providers/xiaomi-docs.ts +++ b/src/server/providers/xiaomi-docs.ts @@ -7,11 +7,11 @@ export const XIAOMI_MODELS = `${XIAOMI_DOCS}quick-start/summary/model.md` export const XIAOMI_PRICING = `${XIAOMI_DOCS}price/pay-as-you-go.md` export const XIAOMI_THINKING = `${XIAOMI_DOCS}quick-start/usage-guide/text-generation/deep-thinking.md` export const XIAOMI_SCHEMA_URLS = [ - 'api/chat/openai-api.md', - 'api/chat/responses.md', - 'api/chat/anthropic-api.md', - 'api/audio/Speech-Recognition.md', - 'api/audio/tts.md', + 'api/chat/openai-api-post.md', + 'api/chat/responses-post.md', + 'api/chat/anthropic-api-post.md', + 'api/audio/Speech-Recognition-post.md', + 'api/audio/tts-post.md', ].map((path) => `${XIAOMI_DOCS}${path}`) function fail(message: string): never {