aixtools 0.1.0__py3-none-any.whl → 0.1.2__py3-none-any.whl
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.
Potentially problematic release.
This version of aixtools might be problematic. Click here for more details.
- aixtools/.chainlit/config.toml +113 -0
- aixtools/.chainlit/translations/bn.json +214 -0
- aixtools/.chainlit/translations/en-US.json +214 -0
- aixtools/.chainlit/translations/gu.json +214 -0
- aixtools/.chainlit/translations/he-IL.json +214 -0
- aixtools/.chainlit/translations/hi.json +214 -0
- aixtools/.chainlit/translations/ja.json +214 -0
- aixtools/.chainlit/translations/kn.json +214 -0
- aixtools/.chainlit/translations/ml.json +214 -0
- aixtools/.chainlit/translations/mr.json +214 -0
- aixtools/.chainlit/translations/nl.json +214 -0
- aixtools/.chainlit/translations/ta.json +214 -0
- aixtools/.chainlit/translations/te.json +214 -0
- aixtools/.chainlit/translations/zh-CN.json +214 -0
- aixtools/__init__.py +7 -1
- aixtools/_version.py +34 -0
- aixtools/agents/agent_batch.py +2 -5
- aixtools/chainlit.md +14 -0
- aixtools/mcp/faulty_mcp.py +30 -30
- aixtools/model_patch/model_patch.py +3 -5
- {aixtools-0.1.0.dist-info → aixtools-0.1.2.dist-info}/METADATA +1 -1
- {aixtools-0.1.0.dist-info → aixtools-0.1.2.dist-info}/RECORD +36 -9
- aixtools-0.1.2.dist-info/top_level.txt +4 -0
- docker/mcp-base/Dockerfile +36 -0
- notebooks/example_faulty_mcp_server.ipynb +74 -0
- notebooks/example_mcp_server_stdio.ipynb +76 -0
- notebooks/example_raw_mcp_client.ipynb +84 -0
- notebooks/example_tool_doctor.ipynb +65 -0
- scripts/config.sh +28 -0
- scripts/lint.sh +32 -0
- scripts/log_view.sh +18 -0
- scripts/run_example_mcp_server.sh +14 -0
- scripts/run_faulty_mcp_server.sh +13 -0
- scripts/run_server.sh +29 -0
- aixtools-0.1.0.dist-info/top_level.txt +0 -1
- {aixtools-0.1.0.dist-info → aixtools-0.1.2.dist-info}/WHEEL +0 -0
- {aixtools-0.1.0.dist-info → aixtools-0.1.2.dist-info}/entry_points.txt +0 -0
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
{
|
|
2
|
+
"common": {
|
|
3
|
+
"actions": {
|
|
4
|
+
"cancel": "\u0c30\u0c26\u0c4d\u0c26\u0c41 \u0c1a\u0c47\u0c2f\u0c02\u0c21\u0c3f",
|
|
5
|
+
"confirm": "\u0c28\u0c3f\u0c30\u0c4d\u0c27\u0c3e\u0c30\u0c3f\u0c02\u0c1a\u0c02\u0c21\u0c3f",
|
|
6
|
+
"continue": "\u0c15\u0c4a\u0c28\u0c38\u0c3e\u0c17\u0c3f\u0c02\u0c1a\u0c02\u0c21\u0c3f",
|
|
7
|
+
"goBack": "\u0c35\u0c46\u0c28\u0c15\u0c4d\u0c15\u0c3f \u0c35\u0c46\u0c33\u0c4d\u0c33\u0c02\u0c21\u0c3f",
|
|
8
|
+
"reset": "\u0c30\u0c40\u0c38\u0c46\u0c1f\u0c4d \u0c1a\u0c47\u0c2f\u0c02\u0c21\u0c3f",
|
|
9
|
+
"submit": "\u0c38\u0c2e\u0c30\u0c4d\u0c2a\u0c3f\u0c02\u0c1a\u0c02\u0c21\u0c3f"
|
|
10
|
+
},
|
|
11
|
+
"status": {
|
|
12
|
+
"loading": "\u0c32\u0c4b\u0c21\u0c4d \u0c05\u0c35\u0c41\u0c24\u0c4b\u0c02\u0c26\u0c3f...",
|
|
13
|
+
"error": {
|
|
14
|
+
"default": "\u0c32\u0c4b\u0c2a\u0c02 \u0c38\u0c02\u0c2d\u0c35\u0c3f\u0c02\u0c1a\u0c3f\u0c02\u0c26\u0c3f",
|
|
15
|
+
"serverConnection": "\u0c38\u0c30\u0c4d\u0c35\u0c30\u0c4d\u200c\u0c28\u0c3f \u0c1a\u0c47\u0c30\u0c41\u0c15\u0c4b\u0c32\u0c47\u0c15\u0c2a\u0c4b\u0c2f\u0c3e\u0c2e\u0c41"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"auth": {
|
|
20
|
+
"login": {
|
|
21
|
+
"title": "\u0c2f\u0c3e\u0c2a\u0c4d\u200c\u0c28\u0c3f \u0c09\u0c2a\u0c2f\u0c4b\u0c17\u0c3f\u0c02\u0c1a\u0c21\u0c3e\u0c28\u0c3f\u0c15\u0c3f \u0c32\u0c3e\u0c17\u0c3f\u0c28\u0c4d \u0c1a\u0c47\u0c2f\u0c02\u0c21\u0c3f",
|
|
22
|
+
"form": {
|
|
23
|
+
"email": {
|
|
24
|
+
"label": "\u0c07\u0c2e\u0c46\u0c2f\u0c3f\u0c32\u0c4d \u0c1a\u0c3f\u0c30\u0c41\u0c28\u0c3e\u0c2e\u0c3e",
|
|
25
|
+
"required": "\u0c07\u0c2e\u0c46\u0c2f\u0c3f\u0c32\u0c4d \u0c24\u0c2a\u0c4d\u0c2a\u0c28\u0c3f\u0c38\u0c30\u0c3f"
|
|
26
|
+
},
|
|
27
|
+
"password": {
|
|
28
|
+
"label": "\u0c2a\u0c3e\u0c38\u0c4d\u200c\u0c35\u0c30\u0c4d\u0c21\u0c4d",
|
|
29
|
+
"required": "\u0c2a\u0c3e\u0c38\u0c4d\u200c\u0c35\u0c30\u0c4d\u0c21\u0c4d \u0c24\u0c2a\u0c4d\u0c2a\u0c28\u0c3f\u0c38\u0c30\u0c3f"
|
|
30
|
+
},
|
|
31
|
+
"actions": {
|
|
32
|
+
"signin": "\u0c38\u0c48\u0c28\u0c4d \u0c07\u0c28\u0c4d \u0c1a\u0c47\u0c2f\u0c02\u0c21\u0c3f"
|
|
33
|
+
},
|
|
34
|
+
"alternativeText": {
|
|
35
|
+
"or": "\u0c32\u0c47\u0c26\u0c3e"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"errors": {
|
|
39
|
+
"default": "\u0c38\u0c48\u0c28\u0c4d \u0c07\u0c28\u0c4d \u0c1a\u0c47\u0c2f\u0c32\u0c47\u0c15\u0c2a\u0c4b\u0c2f\u0c3e\u0c2e\u0c41",
|
|
40
|
+
"signin": "\u0c35\u0c47\u0c30\u0c47 \u0c16\u0c3e\u0c24\u0c3e\u0c24\u0c4b \u0c38\u0c48\u0c28\u0c4d \u0c07\u0c28\u0c4d \u0c1a\u0c47\u0c2f\u0c21\u0c3e\u0c28\u0c3f\u0c15\u0c3f \u0c2a\u0c4d\u0c30\u0c2f\u0c24\u0c4d\u0c28\u0c3f\u0c02\u0c1a\u0c02\u0c21\u0c3f",
|
|
41
|
+
"oauthSignin": "\u0c35\u0c47\u0c30\u0c47 \u0c16\u0c3e\u0c24\u0c3e\u0c24\u0c4b \u0c38\u0c48\u0c28\u0c4d \u0c07\u0c28\u0c4d \u0c1a\u0c47\u0c2f\u0c21\u0c3e\u0c28\u0c3f\u0c15\u0c3f \u0c2a\u0c4d\u0c30\u0c2f\u0c24\u0c4d\u0c28\u0c3f\u0c02\u0c1a\u0c02\u0c21\u0c3f",
|
|
42
|
+
"redirectUriMismatch": "\u0c30\u0c40\u0c21\u0c48\u0c30\u0c46\u0c15\u0c4d\u0c1f\u0c4d URI oauth \u0c2f\u0c3e\u0c2a\u0c4d \u0c15\u0c3e\u0c28\u0c4d\u0c2b\u0c3f\u0c17\u0c30\u0c47\u0c37\u0c28\u0c4d\u200c\u0c24\u0c4b \u0c38\u0c30\u0c3f\u0c2a\u0c4b\u0c32\u0c21\u0c02 \u0c32\u0c47\u0c26\u0c41",
|
|
43
|
+
"oauthCallback": "\u0c35\u0c47\u0c30\u0c47 \u0c16\u0c3e\u0c24\u0c3e\u0c24\u0c4b \u0c38\u0c48\u0c28\u0c4d \u0c07\u0c28\u0c4d \u0c1a\u0c47\u0c2f\u0c21\u0c3e\u0c28\u0c3f\u0c15\u0c3f \u0c2a\u0c4d\u0c30\u0c2f\u0c24\u0c4d\u0c28\u0c3f\u0c02\u0c1a\u0c02\u0c21\u0c3f",
|
|
44
|
+
"oauthCreateAccount": "\u0c35\u0c47\u0c30\u0c47 \u0c16\u0c3e\u0c24\u0c3e\u0c24\u0c4b \u0c38\u0c48\u0c28\u0c4d \u0c07\u0c28\u0c4d \u0c1a\u0c47\u0c2f\u0c21\u0c3e\u0c28\u0c3f\u0c15\u0c3f \u0c2a\u0c4d\u0c30\u0c2f\u0c24\u0c4d\u0c28\u0c3f\u0c02\u0c1a\u0c02\u0c21\u0c3f",
|
|
45
|
+
"emailCreateAccount": "\u0c35\u0c47\u0c30\u0c47 \u0c16\u0c3e\u0c24\u0c3e\u0c24\u0c4b \u0c38\u0c48\u0c28\u0c4d \u0c07\u0c28\u0c4d \u0c1a\u0c47\u0c2f\u0c21\u0c3e\u0c28\u0c3f\u0c15\u0c3f \u0c2a\u0c4d\u0c30\u0c2f\u0c24\u0c4d\u0c28\u0c3f\u0c02\u0c1a\u0c02\u0c21\u0c3f",
|
|
46
|
+
"callback": "\u0c35\u0c47\u0c30\u0c47 \u0c16\u0c3e\u0c24\u0c3e\u0c24\u0c4b \u0c38\u0c48\u0c28\u0c4d \u0c07\u0c28\u0c4d \u0c1a\u0c47\u0c2f\u0c21\u0c3e\u0c28\u0c3f\u0c15\u0c3f \u0c2a\u0c4d\u0c30\u0c2f\u0c24\u0c4d\u0c28\u0c3f\u0c02\u0c1a\u0c02\u0c21\u0c3f",
|
|
47
|
+
"oauthAccountNotLinked": "\u0c2e\u0c40 \u0c17\u0c41\u0c30\u0c4d\u0c24\u0c3f\u0c02\u0c2a\u0c41\u0c28\u0c41 \u0c28\u0c3f\u0c30\u0c4d\u0c27\u0c3e\u0c30\u0c3f\u0c02\u0c1a\u0c21\u0c3e\u0c28\u0c3f\u0c15\u0c3f, \u0c2e\u0c40\u0c30\u0c41 \u0c2e\u0c4a\u0c26\u0c1f \u0c09\u0c2a\u0c2f\u0c4b\u0c17\u0c3f\u0c02\u0c1a\u0c3f\u0c28 \u0c05\u0c26\u0c47 \u0c16\u0c3e\u0c24\u0c3e\u0c24\u0c4b \u0c38\u0c48\u0c28\u0c4d \u0c07\u0c28\u0c4d \u0c1a\u0c47\u0c2f\u0c02\u0c21\u0c3f",
|
|
48
|
+
"emailSignin": "\u0c07\u0c2e\u0c46\u0c2f\u0c3f\u0c32\u0c4d \u0c2a\u0c02\u0c2a\u0c21\u0c02 \u0c38\u0c3e\u0c27\u0c4d\u0c2f\u0c02 \u0c15\u0c3e\u0c32\u0c47\u0c26\u0c41",
|
|
49
|
+
"emailVerify": "\u0c26\u0c2f\u0c1a\u0c47\u0c38\u0c3f \u0c2e\u0c40 \u0c07\u0c2e\u0c46\u0c2f\u0c3f\u0c32\u0c4d\u200c\u0c28\u0c3f \u0c27\u0c43\u0c35\u0c40\u0c15\u0c30\u0c3f\u0c02\u0c1a\u0c02\u0c21\u0c3f, \u0c15\u0c4a\u0c24\u0c4d\u0c24 \u0c07\u0c2e\u0c46\u0c2f\u0c3f\u0c32\u0c4d \u0c2a\u0c02\u0c2a\u0c2c\u0c21\u0c3f\u0c02\u0c26\u0c3f",
|
|
50
|
+
"credentialsSignin": "\u0c38\u0c48\u0c28\u0c4d \u0c07\u0c28\u0c4d \u0c35\u0c3f\u0c2b\u0c32\u0c2e\u0c48\u0c02\u0c26\u0c3f. \u0c2e\u0c40\u0c30\u0c41 \u0c05\u0c02\u0c26\u0c3f\u0c02\u0c1a\u0c3f\u0c28 \u0c35\u0c3f\u0c35\u0c30\u0c3e\u0c32\u0c41 \u0c38\u0c30\u0c48\u0c28\u0c35\u0c47\u0c28\u0c3e \u0c05\u0c28\u0c3f \u0c24\u0c28\u0c3f\u0c16\u0c40 \u0c1a\u0c47\u0c2f\u0c02\u0c21\u0c3f",
|
|
51
|
+
"sessionRequired": "\u0c08 \u0c2a\u0c47\u0c1c\u0c40\u0c28\u0c3f \u0c2f\u0c3e\u0c15\u0c4d\u0c38\u0c46\u0c38\u0c4d \u0c1a\u0c47\u0c2f\u0c21\u0c3e\u0c28\u0c3f\u0c15\u0c3f \u0c26\u0c2f\u0c1a\u0c47\u0c38\u0c3f \u0c38\u0c48\u0c28\u0c4d \u0c07\u0c28\u0c4d \u0c1a\u0c47\u0c2f\u0c02\u0c21\u0c3f"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"provider": {
|
|
55
|
+
"continue": "{{provider}}\u0c24\u0c4b \u0c15\u0c4a\u0c28\u0c38\u0c3e\u0c17\u0c3f\u0c02\u0c1a\u0c02\u0c21\u0c3f"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"chat": {
|
|
59
|
+
"input": {
|
|
60
|
+
"placeholder": "\u0c2e\u0c40 \u0c38\u0c02\u0c26\u0c47\u0c36\u0c3e\u0c28\u0c4d\u0c28\u0c3f \u0c07\u0c15\u0c4d\u0c15\u0c21 \u0c1f\u0c48\u0c2a\u0c4d \u0c1a\u0c47\u0c2f\u0c02\u0c21\u0c3f...",
|
|
61
|
+
"actions": {
|
|
62
|
+
"send": "\u0c38\u0c02\u0c26\u0c47\u0c36\u0c02 \u0c2a\u0c02\u0c2a\u0c02\u0c21\u0c3f",
|
|
63
|
+
"stop": "\u0c2a\u0c28\u0c3f \u0c06\u0c2a\u0c02\u0c21\u0c3f",
|
|
64
|
+
"attachFiles": "\u0c2b\u0c48\u0c32\u0c4d\u0c38\u0c4d \u0c1c\u0c4b\u0c21\u0c3f\u0c02\u0c1a\u0c02\u0c21\u0c3f"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"speech": {
|
|
68
|
+
"start": "\u0c30\u0c3f\u0c15\u0c3e\u0c30\u0c4d\u0c21\u0c3f\u0c02\u0c17\u0c4d \u0c2a\u0c4d\u0c30\u0c3e\u0c30\u0c02\u0c2d\u0c3f\u0c02\u0c1a\u0c02\u0c21\u0c3f",
|
|
69
|
+
"stop": "\u0c30\u0c3f\u0c15\u0c3e\u0c30\u0c4d\u0c21\u0c3f\u0c02\u0c17\u0c4d \u0c06\u0c2a\u0c02\u0c21\u0c3f",
|
|
70
|
+
"connecting": "\u0c05\u0c28\u0c41\u0c38\u0c02\u0c27\u0c3e\u0c28\u0c3f\u0c38\u0c4d\u0c24\u0c4b\u0c02\u0c26\u0c3f"
|
|
71
|
+
},
|
|
72
|
+
"fileUpload": {
|
|
73
|
+
"dragDrop": "\u0c2b\u0c48\u0c32\u0c4d\u0c38\u0c4d\u200c\u0c28\u0c3f \u0c07\u0c15\u0c4d\u0c15\u0c21 \u0c21\u0c4d\u0c30\u0c3e\u0c17\u0c4d \u0c1a\u0c47\u0c38\u0c3f \u0c21\u0c4d\u0c30\u0c3e\u0c2a\u0c4d \u0c1a\u0c47\u0c2f\u0c02\u0c21\u0c3f",
|
|
74
|
+
"browse": "\u0c2b\u0c48\u0c32\u0c4d\u0c38\u0c4d \u0c2c\u0c4d\u0c30\u0c4c\u0c1c\u0c4d \u0c1a\u0c47\u0c2f\u0c02\u0c21\u0c3f",
|
|
75
|
+
"sizeLimit": "\u0c2a\u0c30\u0c3f\u0c2e\u0c3f\u0c24\u0c3f:",
|
|
76
|
+
"errors": {
|
|
77
|
+
"failed": "\u0c05\u0c2a\u0c4d\u200c\u0c32\u0c4b\u0c21\u0c4d \u0c35\u0c3f\u0c2b\u0c32\u0c2e\u0c48\u0c02\u0c26\u0c3f",
|
|
78
|
+
"cancelled": "\u0c05\u0c2a\u0c4d\u200c\u0c32\u0c4b\u0c21\u0c4d \u0c30\u0c26\u0c4d\u0c26\u0c41 \u0c1a\u0c47\u0c2f\u0c2c\u0c21\u0c3f\u0c02\u0c26\u0c3f"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"messages": {
|
|
82
|
+
"status": {
|
|
83
|
+
"using": "\u0c09\u0c2a\u0c2f\u0c4b\u0c17\u0c3f\u0c38\u0c4d\u0c24\u0c4b\u0c02\u0c26\u0c3f",
|
|
84
|
+
"used": "\u0c09\u0c2a\u0c2f\u0c4b\u0c17\u0c3f\u0c02\u0c1a\u0c2c\u0c21\u0c3f\u0c02\u0c26\u0c3f"
|
|
85
|
+
},
|
|
86
|
+
"actions": {
|
|
87
|
+
"copy": {
|
|
88
|
+
"button": "\u0c15\u0c4d\u0c32\u0c3f\u0c2a\u0c4d\u200c\u0c2c\u0c4b\u0c30\u0c4d\u0c21\u0c4d\u200c\u0c15\u0c3f \u0c15\u0c3e\u0c2a\u0c40 \u0c1a\u0c47\u0c2f\u0c02\u0c21\u0c3f",
|
|
89
|
+
"success": "\u0c15\u0c3e\u0c2a\u0c40 \u0c1a\u0c47\u0c2f\u0c2c\u0c21\u0c3f\u0c02\u0c26\u0c3f!"
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"feedback": {
|
|
93
|
+
"positive": "\u0c38\u0c39\u0c3e\u0c2f\u0c15\u0c30\u0c02",
|
|
94
|
+
"negative": "\u0c38\u0c39\u0c3e\u0c2f\u0c15\u0c30\u0c02 \u0c15\u0c3e\u0c26\u0c41",
|
|
95
|
+
"edit": "\u0c05\u0c2d\u0c3f\u0c2a\u0c4d\u0c30\u0c3e\u0c2f\u0c3e\u0c28\u0c4d\u0c28\u0c3f \u0c38\u0c35\u0c30\u0c3f\u0c02\u0c1a\u0c02\u0c21\u0c3f",
|
|
96
|
+
"dialog": {
|
|
97
|
+
"title": "\u0c35\u0c4d\u0c2f\u0c3e\u0c16\u0c4d\u0c2f \u0c1c\u0c4b\u0c21\u0c3f\u0c02\u0c1a\u0c02\u0c21\u0c3f",
|
|
98
|
+
"submit": "\u0c05\u0c2d\u0c3f\u0c2a\u0c4d\u0c30\u0c3e\u0c2f\u0c3e\u0c28\u0c4d\u0c28\u0c3f \u0c38\u0c2e\u0c30\u0c4d\u0c2a\u0c3f\u0c02\u0c1a\u0c02\u0c21\u0c3f"
|
|
99
|
+
},
|
|
100
|
+
"status": {
|
|
101
|
+
"updating": "\u0c28\u0c35\u0c40\u0c15\u0c30\u0c3f\u0c38\u0c4d\u0c24\u0c4b\u0c02\u0c26\u0c3f",
|
|
102
|
+
"updated": "\u0c05\u0c2d\u0c3f\u0c2a\u0c4d\u0c30\u0c3e\u0c2f\u0c02 \u0c28\u0c35\u0c40\u0c15\u0c30\u0c3f\u0c02\u0c1a\u0c2c\u0c21\u0c3f\u0c02\u0c26\u0c3f"
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"history": {
|
|
107
|
+
"title": "\u0c1a\u0c3f\u0c35\u0c30\u0c3f \u0c07\u0c28\u0c4d\u200c\u0c2a\u0c41\u0c1f\u0c4d\u200c\u0c32\u0c41",
|
|
108
|
+
"empty": "\u0c16\u0c3e\u0c33\u0c40\u0c17\u0c3e \u0c09\u0c02\u0c26\u0c3f...",
|
|
109
|
+
"show": "\u0c1a\u0c30\u0c3f\u0c24\u0c4d\u0c30\u0c28\u0c41 \u0c1a\u0c42\u0c2a\u0c3f\u0c02\u0c1a\u0c41"
|
|
110
|
+
},
|
|
111
|
+
"settings": {
|
|
112
|
+
"title": "\u0c38\u0c46\u0c1f\u0c4d\u0c1f\u0c3f\u0c02\u0c17\u0c4d\u200c\u0c32 \u0c2a\u0c4d\u0c2f\u0c3e\u0c28\u0c46\u0c32\u0c4d"
|
|
113
|
+
},
|
|
114
|
+
"watermark": "\u0c24\u0c4b \u0c28\u0c3f\u0c30\u0c4d\u0c2e\u0c3f\u0c02\u0c1a\u0c2c\u0c21\u0c3f\u0c02\u0c26\u0c3f"
|
|
115
|
+
},
|
|
116
|
+
"threadHistory": {
|
|
117
|
+
"sidebar": {
|
|
118
|
+
"title": "\u0c17\u0c24 \u0c1a\u0c3e\u0c1f\u0c4d\u200c\u0c32\u0c41",
|
|
119
|
+
"filters": {
|
|
120
|
+
"search": "\u0c35\u0c46\u0c24\u0c15\u0c02\u0c21\u0c3f",
|
|
121
|
+
"placeholder": "Search conversations..."
|
|
122
|
+
},
|
|
123
|
+
"timeframes": {
|
|
124
|
+
"today": "\u0c08\u0c30\u0c4b\u0c1c\u0c41",
|
|
125
|
+
"yesterday": "\u0c28\u0c3f\u0c28\u0c4d\u0c28",
|
|
126
|
+
"previous7days": "\u0c17\u0c24 7 \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",
|
|
127
|
+
"previous30days": "\u0c17\u0c24 30 \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41"
|
|
128
|
+
},
|
|
129
|
+
"empty": "\u0c25\u0c4d\u0c30\u0c46\u0c21\u0c4d\u200c\u0c32\u0c41 \u0c15\u0c28\u0c41\u0c17\u0c4a\u0c28\u0c2c\u0c21\u0c32\u0c47\u0c26\u0c41",
|
|
130
|
+
"actions": {
|
|
131
|
+
"close": "\u0c38\u0c48\u0c21\u0c4d\u200c\u0c2c\u0c3e\u0c30\u0c4d \u0c2e\u0c42\u0c38\u0c3f\u0c35\u0c47\u0c2f\u0c02\u0c21\u0c3f",
|
|
132
|
+
"open": "\u0c38\u0c48\u0c21\u0c4d\u200c\u0c2c\u0c3e\u0c30\u0c4d \u0c24\u0c46\u0c30\u0c35\u0c02\u0c21\u0c3f"
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"thread": {
|
|
136
|
+
"untitled": "\u0c2a\u0c47\u0c30\u0c41 \u0c32\u0c47\u0c28\u0c3f \u0c38\u0c02\u0c2d\u0c3e\u0c37\u0c23",
|
|
137
|
+
"menu": {
|
|
138
|
+
"rename": "Rename",
|
|
139
|
+
"delete": "Delete"
|
|
140
|
+
},
|
|
141
|
+
"actions": {
|
|
142
|
+
"delete": {
|
|
143
|
+
"title": "\u0c24\u0c4a\u0c32\u0c17\u0c3f\u0c02\u0c2a\u0c41\u0c28\u0c41 \u0c28\u0c3f\u0c30\u0c4d\u0c27\u0c3e\u0c30\u0c3f\u0c02\u0c1a\u0c02\u0c21\u0c3f",
|
|
144
|
+
"description": "\u0c07\u0c26\u0c3f \u0c25\u0c4d\u0c30\u0c46\u0c21\u0c4d\u200c\u0c24\u0c4b \u0c2a\u0c3e\u0c1f\u0c41 \u0c26\u0c3e\u0c28\u0c3f \u0c38\u0c02\u0c26\u0c47\u0c36\u0c3e\u0c32\u0c28\u0c41 \u0c2e\u0c30\u0c3f\u0c2f\u0c41 \u0c05\u0c02\u0c36\u0c3e\u0c32\u0c28\u0c41 \u0c24\u0c4a\u0c32\u0c17\u0c3f\u0c38\u0c4d\u0c24\u0c41\u0c02\u0c26\u0c3f. \u0c08 \u0c1a\u0c30\u0c4d\u0c2f\u0c28\u0c41 \u0c30\u0c26\u0c4d\u0c26\u0c41 \u0c1a\u0c47\u0c2f\u0c32\u0c47\u0c30\u0c41",
|
|
145
|
+
"success": "\u0c1a\u0c3e\u0c1f\u0c4d \u0c24\u0c4a\u0c32\u0c17\u0c3f\u0c02\u0c1a\u0c2c\u0c21\u0c3f\u0c02\u0c26\u0c3f",
|
|
146
|
+
"inProgress": "\u0c1a\u0c3e\u0c1f\u0c4d\u200c\u0c28\u0c3f \u0c24\u0c4a\u0c32\u0c17\u0c3f\u0c38\u0c4d\u0c24\u0c4b\u0c02\u0c26\u0c3f"
|
|
147
|
+
},
|
|
148
|
+
"rename": {
|
|
149
|
+
"title": "\u0c25\u0c4d\u0c30\u0c46\u0c21\u0c4d \u0c2a\u0c47\u0c30\u0c41 \u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c02\u0c21\u0c3f",
|
|
150
|
+
"description": "\u0c08 \u0c25\u0c4d\u0c30\u0c46\u0c21\u0c4d \u0c15\u0c4b\u0c38\u0c02 \u0c15\u0c4a\u0c24\u0c4d\u0c24 \u0c2a\u0c47\u0c30\u0c41\u0c28\u0c41 \u0c28\u0c2e\u0c4b\u0c26\u0c41 \u0c1a\u0c47\u0c2f\u0c02\u0c21\u0c3f",
|
|
151
|
+
"form": {
|
|
152
|
+
"name": {
|
|
153
|
+
"label": "\u0c2a\u0c47\u0c30\u0c41",
|
|
154
|
+
"placeholder": "\u0c15\u0c4a\u0c24\u0c4d\u0c24 \u0c2a\u0c47\u0c30\u0c41\u0c28\u0c41 \u0c28\u0c2e\u0c4b\u0c26\u0c41 \u0c1a\u0c47\u0c2f\u0c02\u0c21\u0c3f"
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"success": "\u0c25\u0c4d\u0c30\u0c46\u0c21\u0c4d \u0c2a\u0c47\u0c30\u0c41 \u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c2c\u0c21\u0c3f\u0c02\u0c26\u0c3f!",
|
|
158
|
+
"inProgress": "\u0c25\u0c4d\u0c30\u0c46\u0c21\u0c4d \u0c2a\u0c47\u0c30\u0c41 \u0c2e\u0c3e\u0c30\u0c41\u0c38\u0c4d\u0c24\u0c4b\u0c02\u0c26\u0c3f"
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"navigation": {
|
|
164
|
+
"header": {
|
|
165
|
+
"chat": "\u0c1a\u0c3e\u0c1f\u0c4d",
|
|
166
|
+
"readme": "\u0c1a\u0c26\u0c35\u0c02\u0c21\u0c3f",
|
|
167
|
+
"theme": {
|
|
168
|
+
"light": "Light Theme",
|
|
169
|
+
"dark": "Dark Theme",
|
|
170
|
+
"system": "Follow System"
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
"newChat": {
|
|
174
|
+
"button": "\u0c15\u0c4a\u0c24\u0c4d\u0c24 \u0c1a\u0c3e\u0c1f\u0c4d",
|
|
175
|
+
"dialog": {
|
|
176
|
+
"title": "\u0c15\u0c4a\u0c24\u0c4d\u0c24 \u0c1a\u0c3e\u0c1f\u0c4d \u0c38\u0c43\u0c37\u0c4d\u0c1f\u0c3f\u0c02\u0c1a\u0c02\u0c21\u0c3f",
|
|
177
|
+
"description": "\u0c07\u0c26\u0c3f \u0c2e\u0c40 \u0c2a\u0c4d\u0c30\u0c38\u0c4d\u0c24\u0c41\u0c24 \u0c1a\u0c3e\u0c1f\u0c4d \u0c1a\u0c30\u0c3f\u0c24\u0c4d\u0c30\u0c28\u0c41 \u0c24\u0c41\u0c21\u0c3f\u0c1a\u0c3f\u0c35\u0c47\u0c38\u0c4d\u0c24\u0c41\u0c02\u0c26\u0c3f. \u0c2e\u0c40\u0c30\u0c41 \u0c15\u0c4a\u0c28\u0c38\u0c3e\u0c17\u0c3f\u0c02\u0c1a\u0c3e\u0c32\u0c28\u0c41\u0c15\u0c41\u0c02\u0c1f\u0c41\u0c28\u0c4d\u0c28\u0c3e\u0c30\u0c3e?",
|
|
178
|
+
"tooltip": "\u0c15\u0c4a\u0c24\u0c4d\u0c24 \u0c1a\u0c3e\u0c1f\u0c4d"
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
"user": {
|
|
182
|
+
"menu": {
|
|
183
|
+
"settings": "\u0c38\u0c46\u0c1f\u0c4d\u0c1f\u0c3f\u0c02\u0c17\u0c4d\u200c\u0c32\u0c41",
|
|
184
|
+
"settingsKey": "S",
|
|
185
|
+
"apiKeys": "API \u0c15\u0c40\u0c32\u0c41",
|
|
186
|
+
"logout": "\u0c32\u0c3e\u0c17\u0c4d \u0c05\u0c35\u0c41\u0c1f\u0c4d"
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
"apiKeys": {
|
|
191
|
+
"title": "\u0c05\u0c35\u0c38\u0c30\u0c2e\u0c48\u0c28 API \u0c15\u0c40\u0c32\u0c41",
|
|
192
|
+
"description": "\u0c08 \u0c2f\u0c3e\u0c2a\u0c4d\u200c\u0c28\u0c3f \u0c09\u0c2a\u0c2f\u0c4b\u0c17\u0c3f\u0c02\u0c1a\u0c21\u0c3e\u0c28\u0c3f\u0c15\u0c3f, \u0c15\u0c3f\u0c02\u0c26\u0c3f API \u0c15\u0c40\u0c32\u0c41 \u0c05\u0c35\u0c38\u0c30\u0c02. \u0c15\u0c40\u0c32\u0c41 \u0c2e\u0c40 \u0c2a\u0c30\u0c3f\u0c15\u0c30\u0c02 \u0c2f\u0c4a\u0c15\u0c4d\u0c15 \u0c38\u0c4d\u0c25\u0c3e\u0c28\u0c3f\u0c15 \u0c28\u0c3f\u0c32\u0c4d\u0c35\u0c32\u0c4b \u0c28\u0c3f\u0c32\u0c4d\u0c35 \u0c1a\u0c47\u0c2f\u0c2c\u0c21\u0c24\u0c3e\u0c2f\u0c3f.",
|
|
193
|
+
"success": {
|
|
194
|
+
"saved": "\u0c35\u0c3f\u0c1c\u0c2f\u0c35\u0c02\u0c24\u0c02\u0c17\u0c3e \u0c38\u0c47\u0c35\u0c4d \u0c1a\u0c47\u0c2f\u0c2c\u0c21\u0c3f\u0c02\u0c26\u0c3f"
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
"alerts": {
|
|
198
|
+
"info": "Info",
|
|
199
|
+
"note": "Note",
|
|
200
|
+
"tip": "Tip",
|
|
201
|
+
"important": "Important",
|
|
202
|
+
"warning": "Warning",
|
|
203
|
+
"caution": "Caution",
|
|
204
|
+
"debug": "Debug",
|
|
205
|
+
"example": "Example",
|
|
206
|
+
"success": "Success",
|
|
207
|
+
"help": "Help",
|
|
208
|
+
"idea": "Idea",
|
|
209
|
+
"pending": "Pending",
|
|
210
|
+
"security": "Security",
|
|
211
|
+
"beta": "Beta",
|
|
212
|
+
"best-practice": "Best Practice"
|
|
213
|
+
}
|
|
214
|
+
}
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
{
|
|
2
|
+
"common": {
|
|
3
|
+
"actions": {
|
|
4
|
+
"cancel": "\u53d6\u6d88",
|
|
5
|
+
"confirm": "\u786e\u8ba4",
|
|
6
|
+
"continue": "\u7ee7\u7eed",
|
|
7
|
+
"goBack": "\u8fd4\u56de",
|
|
8
|
+
"reset": "\u91cd\u7f6e",
|
|
9
|
+
"submit": "\u63d0\u4ea4"
|
|
10
|
+
},
|
|
11
|
+
"status": {
|
|
12
|
+
"loading": "\u52a0\u8f7d\u4e2d...",
|
|
13
|
+
"error": {
|
|
14
|
+
"default": "\u53d1\u751f\u9519\u8bef",
|
|
15
|
+
"serverConnection": "\u65e0\u6cd5\u8fde\u63a5\u5230\u670d\u52a1\u5668"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"auth": {
|
|
20
|
+
"login": {
|
|
21
|
+
"title": "\u767b\u5f55\u4ee5\u8bbf\u95ee\u5e94\u7528",
|
|
22
|
+
"form": {
|
|
23
|
+
"email": {
|
|
24
|
+
"label": "\u7535\u5b50\u90ae\u7bb1",
|
|
25
|
+
"required": "\u90ae\u7bb1\u662f\u5fc5\u586b\u9879"
|
|
26
|
+
},
|
|
27
|
+
"password": {
|
|
28
|
+
"label": "\u5bc6\u7801",
|
|
29
|
+
"required": "\u5bc6\u7801\u662f\u5fc5\u586b\u9879"
|
|
30
|
+
},
|
|
31
|
+
"actions": {
|
|
32
|
+
"signin": "\u767b\u5f55"
|
|
33
|
+
},
|
|
34
|
+
"alternativeText": {
|
|
35
|
+
"or": "\u6216"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"errors": {
|
|
39
|
+
"default": "\u65e0\u6cd5\u767b\u5f55",
|
|
40
|
+
"signin": "\u8bf7\u5c1d\u8bd5\u4f7f\u7528\u5176\u4ed6\u8d26\u53f7\u767b\u5f55",
|
|
41
|
+
"oauthSignin": "\u8bf7\u5c1d\u8bd5\u4f7f\u7528\u5176\u4ed6\u8d26\u53f7\u767b\u5f55",
|
|
42
|
+
"redirectUriMismatch": "\u91cd\u5b9a\u5411URI\u4e0eOAuth\u5e94\u7528\u914d\u7f6e\u4e0d\u5339\u914d",
|
|
43
|
+
"oauthCallback": "\u8bf7\u5c1d\u8bd5\u4f7f\u7528\u5176\u4ed6\u8d26\u53f7\u767b\u5f55",
|
|
44
|
+
"oauthCreateAccount": "\u8bf7\u5c1d\u8bd5\u4f7f\u7528\u5176\u4ed6\u8d26\u53f7\u767b\u5f55",
|
|
45
|
+
"emailCreateAccount": "\u8bf7\u5c1d\u8bd5\u4f7f\u7528\u5176\u4ed6\u8d26\u53f7\u767b\u5f55",
|
|
46
|
+
"callback": "\u8bf7\u5c1d\u8bd5\u4f7f\u7528\u5176\u4ed6\u8d26\u53f7\u767b\u5f55",
|
|
47
|
+
"oauthAccountNotLinked": "\u4e3a\u786e\u8ba4\u60a8\u7684\u8eab\u4efd\uff0c\u8bf7\u4f7f\u7528\u539f\u59cb\u8d26\u53f7\u767b\u5f55",
|
|
48
|
+
"emailSignin": "\u90ae\u4ef6\u53d1\u9001\u5931\u8d25",
|
|
49
|
+
"emailVerify": "\u8bf7\u9a8c\u8bc1\u60a8\u7684\u90ae\u7bb1\uff0c\u65b0\u7684\u9a8c\u8bc1\u90ae\u4ef6\u5df2\u53d1\u9001",
|
|
50
|
+
"credentialsSignin": "\u767b\u5f55\u5931\u8d25\u3002\u8bf7\u68c0\u67e5\u60a8\u63d0\u4f9b\u7684\u4fe1\u606f\u662f\u5426\u6b63\u786e",
|
|
51
|
+
"sessionRequired": "\u8bf7\u767b\u5f55\u4ee5\u8bbf\u95ee\u6b64\u9875\u9762"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"provider": {
|
|
55
|
+
"continue": "\u7ee7\u7eed\u4f7f\u7528{{provider}}"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"chat": {
|
|
59
|
+
"input": {
|
|
60
|
+
"placeholder": "\u5728\u6b64\u8f93\u5165\u60a8\u7684\u6d88\u606f...",
|
|
61
|
+
"actions": {
|
|
62
|
+
"send": "\u53d1\u9001\u6d88\u606f",
|
|
63
|
+
"stop": "\u505c\u6b62\u4efb\u52a1",
|
|
64
|
+
"attachFiles": "\u9644\u52a0\u6587\u4ef6"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"speech": {
|
|
68
|
+
"start": "\u5f00\u59cb\u5f55\u97f3",
|
|
69
|
+
"stop": "\u505c\u6b62\u5f55\u97f3",
|
|
70
|
+
"connecting": "\u8fde\u63a5\u4e2d"
|
|
71
|
+
},
|
|
72
|
+
"fileUpload": {
|
|
73
|
+
"dragDrop": "\u5c06\u6587\u4ef6\u62d6\u653e\u5230\u8fd9\u91cc",
|
|
74
|
+
"browse": "\u6d4f\u89c8\u6587\u4ef6",
|
|
75
|
+
"sizeLimit": "\u9650\u5236\uff1a",
|
|
76
|
+
"errors": {
|
|
77
|
+
"failed": "\u4e0a\u4f20\u5931\u8d25",
|
|
78
|
+
"cancelled": "\u5df2\u53d6\u6d88\u4e0a\u4f20"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"messages": {
|
|
82
|
+
"status": {
|
|
83
|
+
"using": "\u4f7f\u7528\u4e2d",
|
|
84
|
+
"used": "\u5df2\u4f7f\u7528"
|
|
85
|
+
},
|
|
86
|
+
"actions": {
|
|
87
|
+
"copy": {
|
|
88
|
+
"button": "\u590d\u5236\u5230\u526a\u8d34\u677f",
|
|
89
|
+
"success": "\u5df2\u590d\u5236\uff01"
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"feedback": {
|
|
93
|
+
"positive": "\u6709\u5e2e\u52a9",
|
|
94
|
+
"negative": "\u6ca1\u6709\u5e2e\u52a9",
|
|
95
|
+
"edit": "\u7f16\u8f91\u53cd\u9988",
|
|
96
|
+
"dialog": {
|
|
97
|
+
"title": "\u6dfb\u52a0\u8bc4\u8bba",
|
|
98
|
+
"submit": "\u63d0\u4ea4\u53cd\u9988"
|
|
99
|
+
},
|
|
100
|
+
"status": {
|
|
101
|
+
"updating": "\u66f4\u65b0\u4e2d",
|
|
102
|
+
"updated": "\u53cd\u9988\u5df2\u66f4\u65b0"
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"history": {
|
|
107
|
+
"title": "\u6700\u8fd1\u8f93\u5165",
|
|
108
|
+
"empty": "\u7a7a\u7a7a\u5982\u4e5f...",
|
|
109
|
+
"show": "\u663e\u793a\u5386\u53f2"
|
|
110
|
+
},
|
|
111
|
+
"settings": {
|
|
112
|
+
"title": "\u8bbe\u7f6e\u9762\u677f"
|
|
113
|
+
},
|
|
114
|
+
"watermark": "\u6280\u672f\u652f\u6301"
|
|
115
|
+
},
|
|
116
|
+
"threadHistory": {
|
|
117
|
+
"sidebar": {
|
|
118
|
+
"title": "\u5386\u53f2\u5bf9\u8bdd",
|
|
119
|
+
"filters": {
|
|
120
|
+
"search": "\u641c\u7d22",
|
|
121
|
+
"placeholder": "\u641c\u7d22\u4f1a\u8bdd..."
|
|
122
|
+
},
|
|
123
|
+
"timeframes": {
|
|
124
|
+
"today": "\u4eca\u5929",
|
|
125
|
+
"yesterday": "\u6628\u5929",
|
|
126
|
+
"previous7days": "\u8fc7\u53bb7\u5929",
|
|
127
|
+
"previous30days": "\u8fc7\u53bb30\u5929"
|
|
128
|
+
},
|
|
129
|
+
"empty": "\u672a\u627e\u5230\u5bf9\u8bdd",
|
|
130
|
+
"actions": {
|
|
131
|
+
"close": "\u5173\u95ed\u4fa7\u8fb9\u680f",
|
|
132
|
+
"open": "\u6253\u5f00\u4fa7\u8fb9\u680f"
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"thread": {
|
|
136
|
+
"untitled": "\u672a\u547d\u540d\u5bf9\u8bdd",
|
|
137
|
+
"menu": {
|
|
138
|
+
"rename": "\u91cd\u547d\u540d",
|
|
139
|
+
"delete": "\u5220\u9664"
|
|
140
|
+
},
|
|
141
|
+
"actions": {
|
|
142
|
+
"delete": {
|
|
143
|
+
"title": "\u786e\u8ba4\u5220\u9664",
|
|
144
|
+
"description": "\u8fd9\u5c06\u5220\u9664\u8be5\u5bf9\u8bdd\u53ca\u5176\u6240\u6709\u6d88\u606f\u548c\u5143\u7d20\u3002\u6b64\u64cd\u4f5c\u65e0\u6cd5\u64a4\u9500",
|
|
145
|
+
"success": "\u5bf9\u8bdd\u5df2\u5220\u9664",
|
|
146
|
+
"inProgress": "\u6b63\u5728\u5220\u9664\u5bf9\u8bdd"
|
|
147
|
+
},
|
|
148
|
+
"rename": {
|
|
149
|
+
"title": "\u91cd\u547d\u540d\u5bf9\u8bdd",
|
|
150
|
+
"description": "\u4e3a\u6b64\u5bf9\u8bdd\u8f93\u5165\u65b0\u540d\u79f0",
|
|
151
|
+
"form": {
|
|
152
|
+
"name": {
|
|
153
|
+
"label": "\u540d\u79f0",
|
|
154
|
+
"placeholder": "\u8f93\u5165\u65b0\u540d\u79f0"
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"success": "\u5bf9\u8bdd\u5df2\u91cd\u547d\u540d\uff01",
|
|
158
|
+
"inProgress": "\u6b63\u5728\u91cd\u547d\u540d\u5bf9\u8bdd"
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"navigation": {
|
|
164
|
+
"header": {
|
|
165
|
+
"chat": "\u804a\u5929",
|
|
166
|
+
"readme": "\u8bf4\u660e",
|
|
167
|
+
"theme": {
|
|
168
|
+
"light": "\u6d45\u8272\u4e3b\u9898",
|
|
169
|
+
"dark": "\u6df1\u8272\u4e3b\u9898",
|
|
170
|
+
"system": "\u8ddf\u968f\u7cfb\u7edf"
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
"newChat": {
|
|
174
|
+
"button": "\u65b0\u5efa\u5bf9\u8bdd",
|
|
175
|
+
"dialog": {
|
|
176
|
+
"title": "\u521b\u5efa\u65b0\u5bf9\u8bdd",
|
|
177
|
+
"description": "\u8fd9\u5c06\u6e05\u9664\u60a8\u5f53\u524d\u7684\u804a\u5929\u8bb0\u5f55\u3002\u786e\u5b9a\u8981\u7ee7\u7eed\u5417\uff1f",
|
|
178
|
+
"tooltip": "\u65b0\u5efa\u5bf9\u8bdd"
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
"user": {
|
|
182
|
+
"menu": {
|
|
183
|
+
"settings": "\u8bbe\u7f6e",
|
|
184
|
+
"settingsKey": "S",
|
|
185
|
+
"apiKeys": "API\u5bc6\u94a5",
|
|
186
|
+
"logout": "\u9000\u51fa\u767b\u5f55"
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
"apiKeys": {
|
|
191
|
+
"title": "\u6240\u9700API\u5bc6\u94a5",
|
|
192
|
+
"description": "\u4f7f\u7528\u6b64\u5e94\u7528\u9700\u8981\u4ee5\u4e0bAPI\u5bc6\u94a5\u3002\u8fd9\u4e9b\u5bc6\u94a5\u5b58\u50a8\u5728\u60a8\u8bbe\u5907\u7684\u672c\u5730\u5b58\u50a8\u4e2d\u3002",
|
|
193
|
+
"success": {
|
|
194
|
+
"saved": "\u4fdd\u5b58\u6210\u529f"
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
"alerts": {
|
|
198
|
+
"info": "\u4fe1\u606f",
|
|
199
|
+
"note": "\u6ce8\u91ca",
|
|
200
|
+
"tip": "\u63d0\u793a",
|
|
201
|
+
"important": "\u91cd\u8981",
|
|
202
|
+
"warning": "\u8b66\u544a",
|
|
203
|
+
"caution": "\u6ce8\u610f",
|
|
204
|
+
"debug": "\u8c03\u8bd5",
|
|
205
|
+
"example": "\u793a\u4f8b",
|
|
206
|
+
"success": "\u6210\u529f",
|
|
207
|
+
"help": "\u5e2e\u52a9",
|
|
208
|
+
"idea": "\u60f3\u6cd5",
|
|
209
|
+
"pending": "\u5f85\u5904\u7406",
|
|
210
|
+
"security": "\u5b89\u5168",
|
|
211
|
+
"beta": "\u6d4b\u8bd5",
|
|
212
|
+
"best-practice": "\u6700\u4f73\u5b9e\u8df5"
|
|
213
|
+
}
|
|
214
|
+
}
|
aixtools/__init__.py
CHANGED
|
@@ -2,4 +2,10 @@
|
|
|
2
2
|
AiXtools - Tools for AI exploration and debugging
|
|
3
3
|
"""
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
try:
|
|
6
|
+
from ._version import version as __version__
|
|
7
|
+
except ImportError:
|
|
8
|
+
# Fallback for development installations
|
|
9
|
+
from importlib.metadata import version
|
|
10
|
+
|
|
11
|
+
__version__ = version("aixtools")
|
aixtools/_version.py
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# file generated by setuptools-scm
|
|
2
|
+
# don't change, don't track in version control
|
|
3
|
+
|
|
4
|
+
__all__ = [
|
|
5
|
+
"__version__",
|
|
6
|
+
"__version_tuple__",
|
|
7
|
+
"version",
|
|
8
|
+
"version_tuple",
|
|
9
|
+
"__commit_id__",
|
|
10
|
+
"commit_id",
|
|
11
|
+
]
|
|
12
|
+
|
|
13
|
+
TYPE_CHECKING = False
|
|
14
|
+
if TYPE_CHECKING:
|
|
15
|
+
from typing import Tuple
|
|
16
|
+
from typing import Union
|
|
17
|
+
|
|
18
|
+
VERSION_TUPLE = Tuple[Union[int, str], ...]
|
|
19
|
+
COMMIT_ID = Union[str, None]
|
|
20
|
+
else:
|
|
21
|
+
VERSION_TUPLE = object
|
|
22
|
+
COMMIT_ID = object
|
|
23
|
+
|
|
24
|
+
version: str
|
|
25
|
+
__version__: str
|
|
26
|
+
__version_tuple__: VERSION_TUPLE
|
|
27
|
+
version_tuple: VERSION_TUPLE
|
|
28
|
+
commit_id: COMMIT_ID
|
|
29
|
+
__commit_id__: COMMIT_ID
|
|
30
|
+
|
|
31
|
+
__version__ = version = '0.1.2'
|
|
32
|
+
__version_tuple__ = version_tuple = (0, 1, 2)
|
|
33
|
+
|
|
34
|
+
__commit_id__ = commit_id = None
|
aixtools/agents/agent_batch.py
CHANGED
|
@@ -5,7 +5,7 @@ Batch processing functionality for running multiple agent queries in parallel.
|
|
|
5
5
|
import asyncio
|
|
6
6
|
from typing import Any
|
|
7
7
|
|
|
8
|
-
from pydantic import BaseModel
|
|
8
|
+
from pydantic import BaseModel, ConfigDict
|
|
9
9
|
|
|
10
10
|
from aixtools.agents.agent import get_agent, run_agent
|
|
11
11
|
|
|
@@ -13,10 +13,7 @@ from aixtools.agents.agent import get_agent, run_agent
|
|
|
13
13
|
class AgentQueryParams(BaseModel):
|
|
14
14
|
"""Parameters for configuring agent queries in batch processing."""
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
"""Configuration for the model."""
|
|
18
|
-
|
|
19
|
-
arbitrary_types_allowed = True
|
|
16
|
+
model_config = ConfigDict(arbitrary_types_allowed=True)
|
|
20
17
|
|
|
21
18
|
id: str = "" # Unique identifier for the query
|
|
22
19
|
prompt: str | list[str]
|
aixtools/chainlit.md
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Welcome to Chainlit! 🚀🤖
|
|
2
|
+
|
|
3
|
+
Hi there, Developer! 👋 We're excited to have you on board. Chainlit is a powerful tool designed to help you prototype, debug and share applications built on top of LLMs.
|
|
4
|
+
|
|
5
|
+
## Useful Links 🔗
|
|
6
|
+
|
|
7
|
+
- **Documentation:** Get started with our comprehensive [Chainlit Documentation](https://docs.chainlit.io) 📚
|
|
8
|
+
- **Discord Community:** Join our friendly [Chainlit Discord](https://discord.gg/k73SQ3FyUh) to ask questions, share your projects, and connect with other developers! 💬
|
|
9
|
+
|
|
10
|
+
We can't wait to see what you create with Chainlit! Happy coding! 💻😊
|
|
11
|
+
|
|
12
|
+
## Welcome screen
|
|
13
|
+
|
|
14
|
+
To modify the welcome screen, edit the `chainlit.md` file at the root of your project. If you do not want a welcome screen, just leave this file empty.
|
aixtools/mcp/faulty_mcp.py
CHANGED
|
@@ -48,11 +48,11 @@ class Config:
|
|
|
48
48
|
"""Global configuration for the faulty MCP server."""
|
|
49
49
|
|
|
50
50
|
port: int = 9999
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
51
|
+
prob_on_post_404: float = 0.5 # Probability of injecting a 404 error for POST requests
|
|
52
|
+
prob_on_post_empty_crash: float = 0.3 # Probability of terminating the process on empty request
|
|
53
|
+
prob_on_delete_404: float = 0.5 # Probability of injecting a 404 error for DELETE requests
|
|
54
|
+
prob_in_list_tools_throw: float = 0.5 # Probability of throwing an exception in list tools handling
|
|
55
|
+
prob_in_list_tools_crash: float = 0.3 # Probability of terminating the process in list tools handling
|
|
56
56
|
|
|
57
57
|
|
|
58
58
|
# Global configuration
|
|
@@ -69,11 +69,11 @@ class McpErrorMiddleware(McpMiddleware):
|
|
|
69
69
|
if context.method == "tools/list":
|
|
70
70
|
random_number = random()
|
|
71
71
|
logger.info("[McpErrorMiddleware] random number: %f", random_number)
|
|
72
|
-
if random_number < config.
|
|
72
|
+
if random_number < config.prob_in_list_tools_crash:
|
|
73
73
|
logger.warning("[McpErrorMiddleware] Simulating server crash!")
|
|
74
74
|
os.kill(os.getpid(), 9)
|
|
75
75
|
|
|
76
|
-
if random_number < config.
|
|
76
|
+
if random_number < config.prob_in_list_tools_throw:
|
|
77
77
|
exception_class = choice(
|
|
78
78
|
[
|
|
79
79
|
ValidationError,
|
|
@@ -102,11 +102,11 @@ class StarletteErrorMiddleware: # pylint: disable=too-few-public-methods
|
|
|
102
102
|
self.app = app
|
|
103
103
|
logger.info("[StarletteErrorMiddleware] Middleware initialized!")
|
|
104
104
|
logger.info("Current configuration:")
|
|
105
|
-
logger.info("
|
|
106
|
-
logger.info("
|
|
107
|
-
logger.info("
|
|
108
|
-
logger.info("
|
|
109
|
-
logger.info("Terminate in list handle probability: %f", config.
|
|
105
|
+
logger.info("POST 404 probability: %f", config.prob_on_post_404)
|
|
106
|
+
logger.info("POST empty crash probability: %f", config.prob_on_post_empty_crash)
|
|
107
|
+
logger.info("DELETE 404 probability: %f", config.prob_on_delete_404)
|
|
108
|
+
logger.info("Exception in list tools handling probability: %f", config.prob_in_list_tools_throw)
|
|
109
|
+
logger.info("Terminate in list handle probability: %f", config.prob_in_list_tools_crash)
|
|
110
110
|
|
|
111
111
|
async def __call__(self, scope: Scope, receive: Receive, send: Send): # noqa: PLR0915 # pylint: disable=too-many-statements
|
|
112
112
|
# Log all the condition variables for debugging
|
|
@@ -124,7 +124,7 @@ class StarletteErrorMiddleware: # pylint: disable=too-few-public-methods
|
|
|
124
124
|
if http_method == "DELETE":
|
|
125
125
|
random_number = random()
|
|
126
126
|
logger.info("[StarletteErrorMiddleware] random number: %f", random_number)
|
|
127
|
-
if random_number < config.
|
|
127
|
+
if random_number < config.prob_on_delete_404:
|
|
128
128
|
logger.info("[StarletteErrorMiddleware] Simulating 404 error for DELETE request")
|
|
129
129
|
should_inject_404 = True
|
|
130
130
|
|
|
@@ -137,7 +137,7 @@ class StarletteErrorMiddleware: # pylint: disable=too-few-public-methods
|
|
|
137
137
|
if message["type"] == "http.request" and message["body"] == b"" and not message.get("more_body", False):
|
|
138
138
|
random_number = random()
|
|
139
139
|
logger.info("[StarletteErrorMiddleware] Empty request received, random number: %f", random_number)
|
|
140
|
-
if random_number < config.
|
|
140
|
+
if random_number < config.prob_on_post_empty_crash:
|
|
141
141
|
logger.warning("[StarletteErrorMiddleware] Simulating server crash on empty request!")
|
|
142
142
|
os.kill(os.getpid(), 9)
|
|
143
143
|
|
|
@@ -165,7 +165,7 @@ class StarletteErrorMiddleware: # pylint: disable=too-few-public-methods
|
|
|
165
165
|
# Check if we should inject 404
|
|
166
166
|
random_number = random()
|
|
167
167
|
logger.info("[StarletteErrorMiddleware] random number: %f", random_number)
|
|
168
|
-
if random_number < config.
|
|
168
|
+
if random_number < config.prob_on_post_404:
|
|
169
169
|
should_inject_404 = True
|
|
170
170
|
logger.info("[StarletteErrorMiddleware] %s - will inject 404!", method_name)
|
|
171
171
|
except (UnicodeDecodeError, json.JSONDecodeError) as e:
|
|
@@ -275,29 +275,29 @@ if __name__ == "__main__":
|
|
|
275
275
|
help=f"Port to run the server on (default: {config.port})",
|
|
276
276
|
)
|
|
277
277
|
parser.add_argument(
|
|
278
|
-
"--prob-
|
|
278
|
+
"--prob-on-post-404",
|
|
279
279
|
type=float,
|
|
280
|
-
help=f"Probability of
|
|
280
|
+
help=f"Probability of injecting a 404 error for POST requests (default: {config.prob_on_post_404})",
|
|
281
281
|
)
|
|
282
282
|
parser.add_argument(
|
|
283
|
-
"--prob-
|
|
283
|
+
"--prob-on-post-empty-crash",
|
|
284
284
|
type=float,
|
|
285
|
-
help=f"Probability of
|
|
285
|
+
help=f"Probability of terminating on empty request (default: {config.prob_on_post_empty_crash})",
|
|
286
286
|
)
|
|
287
287
|
parser.add_argument(
|
|
288
|
-
"--prob-
|
|
288
|
+
"--prob-on-delete-404",
|
|
289
289
|
type=float,
|
|
290
|
-
help=f"Probability of injecting a 404 error for
|
|
290
|
+
help=f"Probability of injecting a 404 error for DELETE requests (default: {config.prob_on_delete_404})",
|
|
291
291
|
)
|
|
292
292
|
parser.add_argument(
|
|
293
|
-
"--prob-
|
|
293
|
+
"--prob-in-list-tools-throw",
|
|
294
294
|
type=float,
|
|
295
|
-
help=f"Probability of
|
|
295
|
+
help=f"Probability of exception in list tools handling (default: {config.prob_in_list_tools_throw})",
|
|
296
296
|
)
|
|
297
297
|
parser.add_argument(
|
|
298
|
-
"--prob-
|
|
298
|
+
"--prob-in-list-tools-crash",
|
|
299
299
|
type=float,
|
|
300
|
-
help=f"Probability of terminating in list tools handling (default: {config.
|
|
300
|
+
help=f"Probability of terminating in list tools handling (default: {config.prob_in_list_tools_crash})",
|
|
301
301
|
)
|
|
302
302
|
|
|
303
303
|
args = parser.parse_args()
|
|
@@ -310,11 +310,11 @@ if __name__ == "__main__":
|
|
|
310
310
|
|
|
311
311
|
# Update the global configuration with command line arguments
|
|
312
312
|
config.port = args.port or config.port
|
|
313
|
-
_update_config_value("
|
|
314
|
-
_update_config_value("
|
|
315
|
-
_update_config_value("
|
|
316
|
-
_update_config_value("
|
|
317
|
-
_update_config_value("
|
|
313
|
+
_update_config_value("prob_on_post_404")
|
|
314
|
+
_update_config_value("prob_on_post_empty_crash")
|
|
315
|
+
_update_config_value("prob_on_delete_404")
|
|
316
|
+
_update_config_value("prob_in_list_tools_throw")
|
|
317
|
+
_update_config_value("prob_in_list_tools_crash")
|
|
318
318
|
|
|
319
319
|
# Run the server
|
|
320
320
|
run_server_on_port()
|