mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 16:30:57 +00:00
refactor: hide model selection helpers
This commit is contained in:
@@ -242,7 +242,7 @@ export function resolveConfiguredOpenRouterCompatAlias(params: {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
export function parseModelRefWithCompatAlias(params: {
|
function parseModelRefWithCompatAlias(params: {
|
||||||
cfg?: OpenClawConfig;
|
cfg?: OpenClawConfig;
|
||||||
raw: string;
|
raw: string;
|
||||||
defaultProvider: string;
|
defaultProvider: string;
|
||||||
@@ -710,7 +710,7 @@ export type ResolveAllowedModelRefResult =
|
|||||||
error: string;
|
error: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
export function getModelRefStatusFromAllowedSet(params: {
|
function getModelRefStatusFromAllowedSet(params: {
|
||||||
catalog: ModelCatalogEntry[];
|
catalog: ModelCatalogEntry[];
|
||||||
ref: ModelRef;
|
ref: ModelRef;
|
||||||
allowed: {
|
allowed: {
|
||||||
|
|||||||
Reference in New Issue
Block a user