crewplus 0.1.3__py3-none-any.whl → 0.1.5__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 crewplus might be problematic. Click here for more details.
- crewplus/services/gemini_chat_model.py +2 -2
- {crewplus-0.1.3.dist-info → crewplus-0.1.5.dist-info}/METADATA +1 -1
- crewplus-0.1.5.dist-info/RECORD +9 -0
- crewplus-0.1.3.dist-info/RECORD +0 -9
- {crewplus-0.1.3.dist-info → crewplus-0.1.5.dist-info}/WHEEL +0 -0
- {crewplus-0.1.3.dist-info → crewplus-0.1.5.dist-info}/entry_points.txt +0 -0
- {crewplus-0.1.3.dist-info → crewplus-0.1.5.dist-info}/licenses/LICENSE +0 -0
|
@@ -509,7 +509,7 @@ class GeminiChatModel(BaseChatModel):
|
|
|
509
509
|
config = self._prepare_generation_config(messages, stop)
|
|
510
510
|
|
|
511
511
|
try:
|
|
512
|
-
response = await self._client.generate_content(
|
|
512
|
+
response = await self._client.aio.models.generate_content(
|
|
513
513
|
model=self.model_name,
|
|
514
514
|
contents=contents,
|
|
515
515
|
config=config,
|
|
@@ -573,7 +573,7 @@ class GeminiChatModel(BaseChatModel):
|
|
|
573
573
|
config = self._prepare_generation_config(messages, stop)
|
|
574
574
|
|
|
575
575
|
try:
|
|
576
|
-
stream = await self._client.
|
|
576
|
+
stream = await self._client.aio.models.generate_content_stream(
|
|
577
577
|
model=self.model_name,
|
|
578
578
|
contents=contents,
|
|
579
579
|
config=config,
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
crewplus-0.1.5.dist-info/METADATA,sha256=bfZMLFuK8uRyZZu05T_Q1B2x4NNWDvd2KB0KdbN7DBo,4830
|
|
2
|
+
crewplus-0.1.5.dist-info/WHEEL,sha256=tSfRZzRHthuv7vxpI4aehrdN9scLjk-dCJkPLzkHxGg,90
|
|
3
|
+
crewplus-0.1.5.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
|
|
4
|
+
crewplus-0.1.5.dist-info/licenses/LICENSE,sha256=2_NHSHRTKB_cTcT_GXgcenOCtIZku8j343mOgAguTfc,1087
|
|
5
|
+
crewplus/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
|
+
crewplus/services/__init__.py,sha256=MmH2v3N0ZMsuqFNAupkXENjUqvgf5ehQ99H6EzPqLZU,48
|
|
7
|
+
crewplus/services/gemini_chat_model.py,sha256=i9p5KvSJYaHSUBLPKM_bpyGVLWCDQoNeah_WjQVJRXs,26227
|
|
8
|
+
crewplus/services/model_load_balancer.py,sha256=bJpSgCGPWWT1yD_nYshIPngr8Xmdq1gfq8lJ1hOEGbM,8673
|
|
9
|
+
crewplus-0.1.5.dist-info/RECORD,,
|
crewplus-0.1.3.dist-info/RECORD
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
crewplus-0.1.3.dist-info/METADATA,sha256=a8E2C9PR7Y1V8tay8j3bXj47OoAlR2CFyPSemSZEQm4,4830
|
|
2
|
-
crewplus-0.1.3.dist-info/WHEEL,sha256=tSfRZzRHthuv7vxpI4aehrdN9scLjk-dCJkPLzkHxGg,90
|
|
3
|
-
crewplus-0.1.3.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
|
|
4
|
-
crewplus-0.1.3.dist-info/licenses/LICENSE,sha256=2_NHSHRTKB_cTcT_GXgcenOCtIZku8j343mOgAguTfc,1087
|
|
5
|
-
crewplus/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
|
-
crewplus/services/__init__.py,sha256=MmH2v3N0ZMsuqFNAupkXENjUqvgf5ehQ99H6EzPqLZU,48
|
|
7
|
-
crewplus/services/gemini_chat_model.py,sha256=EjpagLz8JAud9siLUWMBlbvqmZ-_NU04EE0GhBbc5LY,26204
|
|
8
|
-
crewplus/services/model_load_balancer.py,sha256=bJpSgCGPWWT1yD_nYshIPngr8Xmdq1gfq8lJ1hOEGbM,8673
|
|
9
|
-
crewplus-0.1.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|