Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | 10x 10x 10x 10x 10x 10x 10x 8x | import { BaseModelAdapter } from "./base";
export class MuseGlimmerAdapter extends BaseModelAdapter {
readonly idPattern = /(^|[\/_-])muse-glimmer([\/_-]|$)/i;
readonly defaultTemperature = 1;
readonly supportedReasoningModes = ["none", "low", "medium", "high", "xhigh"];
readonly reasoningParameterFormat = "reasoning_effort" as const;
readonly isolateUntaggedReasoning = false;
applyReasoningMode(request: import("../../types").NimChatRequest, mode: string): void {
request.reasoning_effort = this.supportedReasoningModes.includes(mode) ? mode : "none";
}
}
|