revert: remove unintended changes to upstream files
This commit is contained in:
parent
d5d78741bc
commit
f5518781da
@ -17,7 +17,7 @@ import { discoverVeniceModels, VENICE_BASE_URL } from "./venice-models.js";
|
|||||||
type ModelsConfig = NonNullable<MoltbotConfig["models"]>;
|
type ModelsConfig = NonNullable<MoltbotConfig["models"]>;
|
||||||
export type ProviderConfig = NonNullable<ModelsConfig["providers"]>[string];
|
export type ProviderConfig = NonNullable<ModelsConfig["providers"]>[string];
|
||||||
|
|
||||||
const MINIMAX_API_BASE_URL = "https://api.minimax.io/anthropic";
|
const MINIMAX_API_BASE_URL = "https://api.minimax.chat/v1";
|
||||||
const MINIMAX_DEFAULT_MODEL_ID = "MiniMax-M2.1";
|
const MINIMAX_DEFAULT_MODEL_ID = "MiniMax-M2.1";
|
||||||
const MINIMAX_DEFAULT_VISION_MODEL_ID = "MiniMax-VL-01";
|
const MINIMAX_DEFAULT_VISION_MODEL_ID = "MiniMax-VL-01";
|
||||||
const MINIMAX_DEFAULT_CONTEXT_WINDOW = 200000;
|
const MINIMAX_DEFAULT_CONTEXT_WINDOW = 200000;
|
||||||
|
|||||||
@ -75,7 +75,7 @@ export function resolveDiscordChannelId(raw: string): string {
|
|||||||
*/
|
*/
|
||||||
export async function resolveDiscordTarget(
|
export async function resolveDiscordTarget(
|
||||||
raw: string,
|
raw: string,
|
||||||
options: DirectoryConfigParams & DiscordTargetParseOptions,
|
options: DirectoryConfigParams,
|
||||||
): Promise<MessagingTarget | undefined> {
|
): Promise<MessagingTarget | undefined> {
|
||||||
const trimmed = raw.trim();
|
const trimmed = raw.trim();
|
||||||
if (!trimmed) return undefined;
|
if (!trimmed) return undefined;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user