mm-qa-mcp 0.4.0__tar.gz → 0.6.0__tar.gz

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.
Files changed (35) hide show
  1. {mm_qa_mcp-0.4.0/mm_qa_mcp.egg-info → mm_qa_mcp-0.6.0}/PKG-INFO +6 -8
  2. {mm_qa_mcp-0.4.0 → mm_qa_mcp-0.6.0}/minimax_qa_mcp/src/get_weaviate_info/get_weaviate_info.py +3 -3
  3. {mm_qa_mcp-0.4.0 → mm_qa_mcp-0.6.0}/minimax_qa_mcp/src/grafana/service.py +3 -4
  4. {mm_qa_mcp-0.4.0 → mm_qa_mcp-0.6.0/mm_qa_mcp.egg-info}/PKG-INFO +6 -8
  5. {mm_qa_mcp-0.4.0 → mm_qa_mcp-0.6.0}/mm_qa_mcp.egg-info/requires.txt +5 -7
  6. {mm_qa_mcp-0.4.0 → mm_qa_mcp-0.6.0}/pyproject.toml +6 -8
  7. {mm_qa_mcp-0.4.0 → mm_qa_mcp-0.6.0}/MANIFEST.in +0 -0
  8. {mm_qa_mcp-0.4.0 → mm_qa_mcp-0.6.0}/README.md +0 -0
  9. {mm_qa_mcp-0.4.0 → mm_qa_mcp-0.6.0}/minimax_qa_mcp/__init__.py +0 -0
  10. {mm_qa_mcp-0.4.0 → mm_qa_mcp-0.6.0}/minimax_qa_mcp/conf/__init__.py +0 -0
  11. {mm_qa_mcp-0.4.0 → mm_qa_mcp-0.6.0}/minimax_qa_mcp/conf/conf.ini +0 -0
  12. {mm_qa_mcp-0.4.0 → mm_qa_mcp-0.6.0}/minimax_qa_mcp/server.py +0 -0
  13. {mm_qa_mcp-0.4.0 → mm_qa_mcp-0.6.0}/minimax_qa_mcp/src/__init__.py +0 -0
  14. {mm_qa_mcp-0.4.0 → mm_qa_mcp-0.6.0}/minimax_qa_mcp/src/demo_langchain/__init__.py +0 -0
  15. {mm_qa_mcp-0.4.0 → mm_qa_mcp-0.6.0}/minimax_qa_mcp/src/demo_langchain/langchain_demo.py +0 -0
  16. {mm_qa_mcp-0.4.0 → mm_qa_mcp-0.6.0}/minimax_qa_mcp/src/gateway_case/__init__.py +0 -0
  17. {mm_qa_mcp-0.4.0 → mm_qa_mcp-0.6.0}/minimax_qa_mcp/src/gateway_case/get_case.py +0 -0
  18. {mm_qa_mcp-0.4.0 → mm_qa_mcp-0.6.0}/minimax_qa_mcp/src/generator_case/__init__.py +0 -0
  19. {mm_qa_mcp-0.4.0 → mm_qa_mcp-0.6.0}/minimax_qa_mcp/src/generator_case/generator_case.py +0 -0
  20. {mm_qa_mcp-0.4.0 → mm_qa_mcp-0.6.0}/minimax_qa_mcp/src/generator_case/generator_case_langchain.py +0 -0
  21. {mm_qa_mcp-0.4.0 → mm_qa_mcp-0.6.0}/minimax_qa_mcp/src/get_weaviate_info/__init__.py +0 -0
  22. {mm_qa_mcp-0.4.0 → mm_qa_mcp-0.6.0}/minimax_qa_mcp/src/grafana/__init__.py +0 -0
  23. {mm_qa_mcp-0.4.0 → mm_qa_mcp-0.6.0}/minimax_qa_mcp/src/query_segments/__init__.py +0 -0
  24. {mm_qa_mcp-0.4.0 → mm_qa_mcp-0.6.0}/minimax_qa_mcp/src/query_segments/query_segments.py +0 -0
  25. {mm_qa_mcp-0.4.0 → mm_qa_mcp-0.6.0}/minimax_qa_mcp/src/xmind2markdown/__init__.py +0 -0
  26. {mm_qa_mcp-0.4.0 → mm_qa_mcp-0.6.0}/minimax_qa_mcp/src/xmind2markdown/xmind_to_markdown.py +0 -0
  27. {mm_qa_mcp-0.4.0 → mm_qa_mcp-0.6.0}/minimax_qa_mcp/utils/__init__.py +0 -0
  28. {mm_qa_mcp-0.4.0 → mm_qa_mcp-0.6.0}/minimax_qa_mcp/utils/logger.py +0 -0
  29. {mm_qa_mcp-0.4.0 → mm_qa_mcp-0.6.0}/minimax_qa_mcp/utils/utils.py +0 -0
  30. {mm_qa_mcp-0.4.0 → mm_qa_mcp-0.6.0}/mm_qa_mcp.egg-info/SOURCES.txt +0 -0
  31. {mm_qa_mcp-0.4.0 → mm_qa_mcp-0.6.0}/mm_qa_mcp.egg-info/dependency_links.txt +0 -0
  32. {mm_qa_mcp-0.4.0 → mm_qa_mcp-0.6.0}/mm_qa_mcp.egg-info/entry_points.txt +0 -0
  33. {mm_qa_mcp-0.4.0 → mm_qa_mcp-0.6.0}/mm_qa_mcp.egg-info/top_level.txt +0 -0
  34. {mm_qa_mcp-0.4.0 → mm_qa_mcp-0.6.0}/setup.cfg +0 -0
  35. {mm_qa_mcp-0.4.0 → mm_qa_mcp-0.6.0}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mm_qa_mcp
3
- Version: 0.4.0
3
+ Version: 0.6.0
4
4
  Summary: QA agent service 集合
5
5
  Author-email: xingyun <xingyun@minimaxi.com>
6
6
  License: MIT
@@ -13,11 +13,10 @@ Requires-Python: >=3.10
13
13
  Description-Content-Type: text/markdown
14
14
  Requires-Dist: annotated-types>=0.7.0
15
15
  Requires-Dist: anyio>=4.9.0
16
- Requires-Dist: Authlib>=1.5.2
16
+ Requires-Dist: Authlib<2.0.0,>=1.2.1
17
17
  Requires-Dist: certifi>=2025.1.31
18
18
  Requires-Dist: cffi>=1.17.1
19
19
  Requires-Dist: charset-normalizer>=3.4.1
20
- Requires-Dist: classes>=0.4.1
21
20
  Requires-Dist: click>=8.1.8
22
21
  Requires-Dist: cryptography>=44.0.2
23
22
  Requires-Dist: h11>=0.14.0
@@ -43,7 +42,7 @@ Requires-Dist: python-dateutil>=2.9.0.post0
43
42
  Requires-Dist: python-dotenv>=1.1.0
44
43
  Requires-Dist: pytz>=2025.2
45
44
  Requires-Dist: PyYAML>=6.0.2
46
- Requires-Dist: requests>=2.32.3
45
+ Requires-Dist: requests<3.0.0,>=2.30.0
47
46
  Requires-Dist: requests-toolbelt>=1.0.0
48
47
  Requires-Dist: six>=1.17.0
49
48
  Requires-Dist: sniffio>=1.3.1
@@ -54,12 +53,11 @@ Requires-Dist: tenacity>=9.1.2
54
53
  Requires-Dist: typing-inspection>=0.4.0
55
54
  Requires-Dist: typing_extensions>=4.13.1
56
55
  Requires-Dist: tzdata>=2025.2
57
- Requires-Dist: urllib3>=2.3.0
56
+ Requires-Dist: urllib3<3.0.0,>=1.21.1
58
57
  Requires-Dist: uvicorn>=0.34.0
59
- Requires-Dist: validators>=0.34.0
58
+ Requires-Dist: validators<1.0.0,>=0.21.2
60
59
  Requires-Dist: wcwidth>=0.2.13
61
- Requires-Dist: weaviate>=0.1.2
62
- Requires-Dist: weaviate-client>=3.26.7
60
+ Requires-Dist: weaviate-client<4.0.0,>=3.25.0
63
61
  Requires-Dist: zstandard>=0.23.0
64
62
  Provides-Extra: dev
65
63
  Requires-Dist: pytest>=7.0.0; extra == "dev"
@@ -49,8 +49,8 @@ class GetWeaviateInfo:
49
49
  使用Weaviate 3.x版本的API
50
50
  """
51
51
  try:
52
- # 在方法内部延迟导入weaviate和其他需要的模块
53
- import weaviate
52
+ # 在方法内部延迟导入weaviate的client模块,避免导入整个包
53
+ from weaviate import client
54
54
  from urllib.parse import urlparse
55
55
 
56
56
  # 获取主机地址,确保不重复http://
@@ -64,7 +64,7 @@ class GetWeaviateInfo:
64
64
  logger.info(f"尝试连接到Weaviate服务器: {http_host_value}:{HTTP_PORT}")
65
65
 
66
66
  # 使用Weaviate 3.x的客户端连接方式
67
- self.client = weaviate.Client(f"http://{http_host_value}:{HTTP_PORT}")
67
+ self.client = client.Client(f"http://{http_host_value}:{HTTP_PORT}")
68
68
 
69
69
  # 检查连接
70
70
  self.client.is_ready()
@@ -16,8 +16,7 @@ class GetFromGrafana:
16
16
  to_formatted_time = datetime.now(timezone(timedelta(hours=8))).isoformat()
17
17
  # 获取一天前的时间
18
18
  # 格式化为 ISO 8601 格式的字符串,包含微秒和时区信息
19
- from_formatted_time = (datetime.now(timezone(timedelta(hours=23))) - timedelta(hours=1)).isoformat()
20
-
19
+ from_formatted_time = (datetime.now(timezone(timedelta(hours=8))) - timedelta(hours=23)).isoformat()
21
20
  self.to_time = str(to_formatted_time)
22
21
  self.from_time = str(from_formatted_time)
23
22
  else:
@@ -99,8 +98,8 @@ class GetApiFromGrafana:
99
98
 
100
99
  if __name__ == '__main__':
101
100
  scene = "hailuo_video_cn_pre"
102
- from_time = "2024-05-15T00:00:00.000+08:00"
103
- to_time = "2024-05-15T23:59:59.999+08:00"
101
+ # from_time = "2024-05-15T00:00:00.000+08:00"
102
+ # to_time = "2024-05-15T23:59:59.999+08:00"
104
103
  msgs = ["5208af62da70dbe9a308b3b98d696a29"]
105
104
  # print("test")
106
105
  print(GetFromGrafana(scene).post_grafana(msgs))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mm_qa_mcp
3
- Version: 0.4.0
3
+ Version: 0.6.0
4
4
  Summary: QA agent service 集合
5
5
  Author-email: xingyun <xingyun@minimaxi.com>
6
6
  License: MIT
@@ -13,11 +13,10 @@ Requires-Python: >=3.10
13
13
  Description-Content-Type: text/markdown
14
14
  Requires-Dist: annotated-types>=0.7.0
15
15
  Requires-Dist: anyio>=4.9.0
16
- Requires-Dist: Authlib>=1.5.2
16
+ Requires-Dist: Authlib<2.0.0,>=1.2.1
17
17
  Requires-Dist: certifi>=2025.1.31
18
18
  Requires-Dist: cffi>=1.17.1
19
19
  Requires-Dist: charset-normalizer>=3.4.1
20
- Requires-Dist: classes>=0.4.1
21
20
  Requires-Dist: click>=8.1.8
22
21
  Requires-Dist: cryptography>=44.0.2
23
22
  Requires-Dist: h11>=0.14.0
@@ -43,7 +42,7 @@ Requires-Dist: python-dateutil>=2.9.0.post0
43
42
  Requires-Dist: python-dotenv>=1.1.0
44
43
  Requires-Dist: pytz>=2025.2
45
44
  Requires-Dist: PyYAML>=6.0.2
46
- Requires-Dist: requests>=2.32.3
45
+ Requires-Dist: requests<3.0.0,>=2.30.0
47
46
  Requires-Dist: requests-toolbelt>=1.0.0
48
47
  Requires-Dist: six>=1.17.0
49
48
  Requires-Dist: sniffio>=1.3.1
@@ -54,12 +53,11 @@ Requires-Dist: tenacity>=9.1.2
54
53
  Requires-Dist: typing-inspection>=0.4.0
55
54
  Requires-Dist: typing_extensions>=4.13.1
56
55
  Requires-Dist: tzdata>=2025.2
57
- Requires-Dist: urllib3>=2.3.0
56
+ Requires-Dist: urllib3<3.0.0,>=1.21.1
58
57
  Requires-Dist: uvicorn>=0.34.0
59
- Requires-Dist: validators>=0.34.0
58
+ Requires-Dist: validators<1.0.0,>=0.21.2
60
59
  Requires-Dist: wcwidth>=0.2.13
61
- Requires-Dist: weaviate>=0.1.2
62
- Requires-Dist: weaviate-client>=3.26.7
60
+ Requires-Dist: weaviate-client<4.0.0,>=3.25.0
63
61
  Requires-Dist: zstandard>=0.23.0
64
62
  Provides-Extra: dev
65
63
  Requires-Dist: pytest>=7.0.0; extra == "dev"
@@ -1,10 +1,9 @@
1
1
  annotated-types>=0.7.0
2
2
  anyio>=4.9.0
3
- Authlib>=1.5.2
3
+ Authlib<2.0.0,>=1.2.1
4
4
  certifi>=2025.1.31
5
5
  cffi>=1.17.1
6
6
  charset-normalizer>=3.4.1
7
- classes>=0.4.1
8
7
  click>=8.1.8
9
8
  cryptography>=44.0.2
10
9
  h11>=0.14.0
@@ -30,7 +29,7 @@ python-dateutil>=2.9.0.post0
30
29
  python-dotenv>=1.1.0
31
30
  pytz>=2025.2
32
31
  PyYAML>=6.0.2
33
- requests>=2.32.3
32
+ requests<3.0.0,>=2.30.0
34
33
  requests-toolbelt>=1.0.0
35
34
  six>=1.17.0
36
35
  sniffio>=1.3.1
@@ -41,12 +40,11 @@ tenacity>=9.1.2
41
40
  typing-inspection>=0.4.0
42
41
  typing_extensions>=4.13.1
43
42
  tzdata>=2025.2
44
- urllib3>=2.3.0
43
+ urllib3<3.0.0,>=1.21.1
45
44
  uvicorn>=0.34.0
46
- validators>=0.34.0
45
+ validators<1.0.0,>=0.21.2
47
46
  wcwidth>=0.2.13
48
- weaviate>=0.1.2
49
- weaviate-client>=3.26.7
47
+ weaviate-client<4.0.0,>=3.25.0
50
48
  zstandard>=0.23.0
51
49
 
52
50
  [dev]
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "mm_qa_mcp"
7
- version = "0.4.0"
7
+ version = "0.6.0"
8
8
  description = "QA agent service 集合"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -22,11 +22,10 @@ classifiers = [
22
22
  dependencies = [
23
23
  "annotated-types>=0.7.0",
24
24
  "anyio>=4.9.0",
25
- "Authlib>=1.5.2",
25
+ "Authlib>=1.2.1,<2.0.0",
26
26
  "certifi>=2025.1.31",
27
27
  "cffi>=1.17.1",
28
28
  "charset-normalizer>=3.4.1",
29
- "classes>=0.4.1",
30
29
  "click>=8.1.8",
31
30
  "cryptography>=44.0.2",
32
31
  "h11>=0.14.0",
@@ -52,7 +51,7 @@ dependencies = [
52
51
  "python-dotenv>=1.1.0",
53
52
  "pytz>=2025.2",
54
53
  "PyYAML>=6.0.2",
55
- "requests>=2.32.3",
54
+ "requests>=2.30.0,<3.0.0",
56
55
  "requests-toolbelt>=1.0.0",
57
56
  "six>=1.17.0",
58
57
  "sniffio>=1.3.1",
@@ -63,12 +62,11 @@ dependencies = [
63
62
  "typing-inspection>=0.4.0",
64
63
  "typing_extensions>=4.13.1",
65
64
  "tzdata>=2025.2",
66
- "urllib3>=2.3.0",
65
+ "urllib3>=1.21.1,<3.0.0",
67
66
  "uvicorn>=0.34.0",
68
- "validators>=0.34.0",
67
+ "validators>=0.21.2,<1.0.0",
69
68
  "wcwidth>=0.2.13",
70
- "weaviate>=0.1.2",
71
- "weaviate-client>=3.26.7",
69
+ "weaviate-client>=3.25.0,<4.0.0",
72
70
  "zstandard>=0.23.0",
73
71
  ]
74
72
 
File without changes
File without changes
File without changes
File without changes