135 文件 19,211 处自动修复:空格→Tab 缩进、括号间距、 函数声明空格、前置自增、尾逗号等纯格式化改动。 零逻辑变更,php -l + token 级对比验证通过。 新增 phpcs.xml.dist / phpstan.neon.dist 项目配置。 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
40 lines
745 B
PHP
40 lines
745 B
PHP
<?php
|
|
/**
|
|
* MiniMax 模型元数据目录
|
|
*
|
|
* @package WPMind
|
|
* @since 1.4.0
|
|
*/
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace WPMind\Providers\MiniMax;
|
|
|
|
use WPMind\Providers\AbstractOpenAiCompatibleModelMetadataDirectory;
|
|
|
|
/**
|
|
* MiniMax 模型元数据目录
|
|
*
|
|
* @since 1.4.0
|
|
*/
|
|
class MiniMaxModelMetadataDirectory extends AbstractOpenAiCompatibleModelMetadataDirectory {
|
|
|
|
/**
|
|
* {@inheritDoc}
|
|
*/
|
|
protected static function providerClass(): string {
|
|
return MiniMaxProvider::class;
|
|
}
|
|
|
|
/**
|
|
* {@inheritDoc}
|
|
*/
|
|
protected function getStaticModels(): array {
|
|
return [
|
|
'abab6.5s-chat' => 'ABAB 6.5s Chat',
|
|
'abab6.5-chat' => 'ABAB 6.5 Chat',
|
|
'abab5.5-chat' => 'ABAB 5.5 Chat',
|
|
'abab5.5s-chat' => 'ABAB 5.5s Chat',
|
|
];
|
|
}
|
|
}
|