mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-14 06:17:27 +00:00
fix: normalize stale copilot raptor-mini model
This commit is contained in:
1 parent
447033cb03
commit
c409a4522c
13 files changed
+633
-72
No files matched your search
@@ -25,6 +25,7 @@ import { getCcsDir } from '../utils/config-manager';
|
||||
import { getProfileLookupCandidates, isLegacyProfileAlias } from '../utils/profile-compat';
|
||||
import type { CLIProxyProvider } from '../cliproxy/types';
|
||||
import { CLIPROXY_PROVIDER_IDS, isCLIProxyProvider } from '../cliproxy/provider-capabilities';
|
||||
import { normalizeCopilotModelId } from '../copilot/copilot-model-normalizer';
|
||||
import type { TargetType } from '../targets/target-adapter';
|
||||
import type { ProfileType } from '../types/profile';
|
||||
export type { ProfileType } from '../types/profile';
|
||||
@@ -446,8 +447,9 @@ class ProfileDetector {
|
||||
if (unifiedConfig) {
|
||||
// Copilot profile (if enabled)
|
||||
if (unifiedConfig.copilot?.enabled) {
|
||||
const currentCopilotModel = normalizeCopilotModelId(unifiedConfig.copilot.model);
|
||||
lines.push('GitHub Copilot (via copilot-api):');
|
||||
lines.push(` - copilot (model: ${unifiedConfig.copilot.model})`);
|
||||
lines.push(` - copilot (model: ${currentCopilotModel})`);
|
||||
}
|
||||
|
||||
// CLIProxy variants from unified config
|
||||
|
||||
Reference in new issue
Block a user