Skip to content

Commit

Permalink
build: v1.2.7 release (^.^)YYa!!
Browse files Browse the repository at this point in the history
  • Loading branch information
yangfuhai committed Nov 21, 2024
1 parent ae7dea3 commit 027e3a2
Show file tree
Hide file tree
Showing 6 changed files with 5,877 additions and 5,674 deletions.
232 changes: 116 additions & 116 deletions dist/index.cjs

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -368,15 +368,16 @@ export declare class OpenaiAiModel extends AiModel {

export declare interface OpenaiModelConfig extends AiModelConfig {
endpoint?: string;
apiKey: string;
customUrl?: string | (() => string);
apiKey?: string;
model?: string;
}

export declare class SparkAiModel extends AiModel {
constructor(editor: InnerEditor, globalConfig: AiGlobalConfig);
createAiClient(url: string, listener: AiMessageListener): AiClient;
wrapPayload(promptMessage: string): string;
getDomain(sparkAiModelConfig: SparkAiModelConfig): "4.0Ultra" | "generalv3.5" | "generalv3" | "generalv2" | "general";
getDomain(sparkAiModelConfig: SparkAiModelConfig): "4.0Ultra" | "generalv3.5" | "generalv3" | "generalv2" | "lite" | "general";
createAiClientUrl(): string;
}

Expand Down
Loading

0 comments on commit 027e3a2

Please sign in to comment.