crewplus 0.2.75__tar.gz → 0.2.77__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.

Potentially problematic release.


This version of crewplus might be problematic. Click here for more details.

Files changed (25) hide show
  1. {crewplus-0.2.75 → crewplus-0.2.77}/PKG-INFO +1 -2
  2. {crewplus-0.2.75 → crewplus-0.2.77}/crewplus/vectorstores/milvus/vdb_service.py +6 -0
  3. {crewplus-0.2.75 → crewplus-0.2.77}/pyproject.toml +1 -2
  4. {crewplus-0.2.75 → crewplus-0.2.77}/LICENSE +0 -0
  5. {crewplus-0.2.75 → crewplus-0.2.77}/README.md +0 -0
  6. {crewplus-0.2.75 → crewplus-0.2.77}/crewplus/__init__.py +0 -0
  7. {crewplus-0.2.75 → crewplus-0.2.77}/crewplus/callbacks/__init__.py +0 -0
  8. {crewplus-0.2.75 → crewplus-0.2.77}/crewplus/callbacks/async_langfuse_handler.py +0 -0
  9. {crewplus-0.2.75 → crewplus-0.2.77}/crewplus/services/__init__.py +0 -0
  10. {crewplus-0.2.75 → crewplus-0.2.77}/crewplus/services/azure_chat_model.py +0 -0
  11. {crewplus-0.2.75 → crewplus-0.2.77}/crewplus/services/gemini_chat_model.py +0 -0
  12. {crewplus-0.2.75 → crewplus-0.2.77}/crewplus/services/init_services.py +0 -0
  13. {crewplus-0.2.75 → crewplus-0.2.77}/crewplus/services/model_load_balancer.py +0 -0
  14. {crewplus-0.2.75 → crewplus-0.2.77}/crewplus/services/tracing_manager.py +0 -0
  15. {crewplus-0.2.75 → crewplus-0.2.77}/crewplus/utils/__init__.py +0 -0
  16. {crewplus-0.2.75 → crewplus-0.2.77}/crewplus/utils/schema_action.py +0 -0
  17. {crewplus-0.2.75 → crewplus-0.2.77}/crewplus/utils/schema_document_updater.py +0 -0
  18. {crewplus-0.2.75 → crewplus-0.2.77}/crewplus/utils/tracing_util.py +0 -0
  19. {crewplus-0.2.75 → crewplus-0.2.77}/crewplus/vectorstores/milvus/__init__.py +0 -0
  20. {crewplus-0.2.75 → crewplus-0.2.77}/crewplus/vectorstores/milvus/milvus_schema_manager.py +0 -0
  21. {crewplus-0.2.75 → crewplus-0.2.77}/crewplus/vectorstores/milvus/schema_milvus.py +0 -0
  22. {crewplus-0.2.75 → crewplus-0.2.77}/docs/GeminiChatModel.md +0 -0
  23. {crewplus-0.2.75 → crewplus-0.2.77}/docs/ModelLoadBalancer.md +0 -0
  24. {crewplus-0.2.75 → crewplus-0.2.77}/docs/VDBService.md +0 -0
  25. {crewplus-0.2.75 → crewplus-0.2.77}/docs/index.md +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: crewplus
3
- Version: 0.2.75
3
+ Version: 0.2.77
4
4
  Summary: Base services for CrewPlus AI applications
5
5
  Author-Email: Tim Liu <tim@opsmateai.com>
6
6
  License: MIT
@@ -14,7 +14,6 @@ Requires-Dist: langchain-openai>=0.3.24
14
14
  Requires-Dist: google-genai>=1.21.1
15
15
  Requires-Dist: langchain-milvus<0.3.0,>=0.2.1
16
16
  Requires-Dist: langfuse<4.0.0,>=3.1.3
17
- Requires-Dist: langchain-mcp-adapters>=0.1.4
18
17
  Description-Content-Type: text/markdown
19
18
 
20
19
  # CrewPlus
@@ -205,6 +205,12 @@ class VDBService(object):
205
205
  # Return a copy without the default alias, as it will be added specifically for sync/async clients.
206
206
  zilliz_args = self.connection_args.copy()
207
207
  zilliz_args.pop('alias', None)
208
+ # 增加 gRPC keepalive 选项来加固连接
209
+ zilliz_args['channel_options'] = [
210
+ ('grpc.keepalive_time_ms', 60000), # 每 60 秒发送一次 ping
211
+ ('grpc.keepalive_timeout_ms', 20000), # 20 秒内没收到 pong 则认为连接断开
212
+ ('grpc.enable_http_proxy', 0),
213
+ ]
208
214
  return zilliz_args
209
215
  else:
210
216
  self.logger.error(f"Unsupported vector store provider: {provider}")
@@ -6,7 +6,7 @@ build-backend = "pdm.backend"
6
6
 
7
7
  [project]
8
8
  name = "crewplus"
9
- version = "0.2.75"
9
+ version = "0.2.77"
10
10
  description = "Base services for CrewPlus AI applications"
11
11
  authors = [
12
12
  { name = "Tim Liu", email = "tim@opsmateai.com" },
@@ -19,7 +19,6 @@ dependencies = [
19
19
  "google-genai>=1.21.1",
20
20
  "langchain-milvus (>=0.2.1,<0.3.0)",
21
21
  "langfuse (>=3.1.3,<4.0.0)",
22
- "langchain-mcp-adapters>=0.1.4",
23
22
  ]
24
23
 
25
24
  [project.license]
File without changes
File without changes
File without changes
File without changes