@mujian/js-sdk 0.0.6-beta.89 → 0.0.6-beta.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +0 -1
- package/dist/index.js +2 -30
- package/dist/lite.d.ts +0 -1
- package/dist/modules/ai/chat/settings/index.d.ts +1 -2
- package/dist/modules/ai/chat/settings/persona.d.ts +0 -8
- package/dist/modules/ai/openai/chat.d.ts +0 -3
- package/dist/modules/ai/openai/completions.d.ts +0 -2
- package/dist/modules/ai/openai/images.d.ts +0 -2
- package/dist/modules/ai/openai/responses.d.ts +0 -2
- package/dist/modules/config.d.ts +0 -1
- package/dist/react/components/MdRenderer/index.d.ts +3 -2
- package/dist/react.js +12 -36
- package/dist/umd/index.js +1 -1
- package/dist/umd/react.js +16 -21
- package/package.json +5 -5
- package/dist/modules/ai/chat/settings/model.d.ts +0 -24
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mujian/js-sdk",
|
|
3
|
-
"version": "0.0.6-beta.
|
|
3
|
+
"version": "0.0.6-beta.90",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"openai": "^6.9.1",
|
|
48
48
|
"rimraf": "^6.0.1",
|
|
49
49
|
"@rsbuild/core": "~1.5.12",
|
|
50
|
-
"@rspress/core": "^2.0.
|
|
50
|
+
"@rspress/core": "^2.0.19",
|
|
51
51
|
"jsdom": "^26.1.0",
|
|
52
|
-
"@rspress/plugin-typedoc": "^2.0.
|
|
53
|
-
"@rspress/plugin-api-docgen": "^2.0.
|
|
54
|
-
"@rspress/plugin-preview": "^2.0.
|
|
52
|
+
"@rspress/plugin-typedoc": "^2.0.19",
|
|
53
|
+
"@rspress/plugin-api-docgen": "^2.0.19",
|
|
54
|
+
"@rspress/plugin-preview": "^2.0.19",
|
|
55
55
|
"@mujian/rspress-plugin-sakana-widget": "workspace:",
|
|
56
56
|
"rspress-plugin-mermaid": "0.3.0",
|
|
57
57
|
"rspress-plugin-align-image": "0.3.0",
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import type { MujianSdk } from '../../../../index.ts';
|
|
2
|
-
import type { ModelInfo } from '../../../../types';
|
|
3
|
-
/**
|
|
4
|
-
* 获取当前激活的模型
|
|
5
|
-
* @returns 模型ID
|
|
6
|
-
*/
|
|
7
|
-
export declare const getActive: (
|
|
8
|
-
/** @hidden */
|
|
9
|
-
this: MujianSdk) => Promise<string>;
|
|
10
|
-
/**
|
|
11
|
-
* 设置当前激活的模型
|
|
12
|
-
* @param modelId
|
|
13
|
-
* @returns 模型ID
|
|
14
|
-
*/
|
|
15
|
-
export declare const setActive: (
|
|
16
|
-
/** @hidden */
|
|
17
|
-
this: MujianSdk, modelId: string) => Promise<string>;
|
|
18
|
-
/**
|
|
19
|
-
* 获取模型列表
|
|
20
|
-
* @returns 模型列表
|
|
21
|
-
*/
|
|
22
|
-
export declare const getAll: (
|
|
23
|
-
/** @hidden */
|
|
24
|
-
this: MujianSdk) => Promise<ModelInfo[]>;
|