ommlds 0.0.0.dev498__py3-none-any.whl → 0.0.0.dev500__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.
- ommlds/.omlish-manifests.json +2 -2
- ommlds/__about__.py +1 -1
- ommlds/backends/anthropic/protocol/sse/events.py +2 -0
- ommlds/backends/groq/clients.py +9 -0
- ommlds/cli/backends/meta.py +1 -1
- ommlds/minichain/_dataclasses.py +819 -671
- ommlds/minichain/backends/impls/groq/chat.py +2 -0
- ommlds/minichain/backends/impls/groq/stream.py +2 -0
- ommlds/minichain/wrappers/__init__.py +7 -0
- ommlds/minichain/{meta → wrappers}/firstinwins.py +49 -36
- ommlds/minichain/wrappers/retry.py +147 -0
- ommlds/minichain/wrappers/services.py +72 -0
- ommlds/minichain/wrappers/stream.py +57 -0
- {ommlds-0.0.0.dev498.dist-info → ommlds-0.0.0.dev500.dist-info}/METADATA +6 -6
- {ommlds-0.0.0.dev498.dist-info → ommlds-0.0.0.dev500.dist-info}/RECORD +19 -15
- ommlds/minichain/meta/__init__.py +0 -0
- {ommlds-0.0.0.dev498.dist-info → ommlds-0.0.0.dev500.dist-info}/WHEEL +0 -0
- {ommlds-0.0.0.dev498.dist-info → ommlds-0.0.0.dev500.dist-info}/entry_points.txt +0 -0
- {ommlds-0.0.0.dev498.dist-info → ommlds-0.0.0.dev500.dist-info}/licenses/LICENSE +0 -0
- {ommlds-0.0.0.dev498.dist-info → ommlds-0.0.0.dev500.dist-info}/top_level.txt +0 -0
ommlds/.omlish-manifests.json
CHANGED
|
@@ -252,7 +252,7 @@
|
|
|
252
252
|
"module": ".minichain.backends.impls.groq.chat",
|
|
253
253
|
"attr": null,
|
|
254
254
|
"file": "ommlds/minichain/backends/impls/groq/chat.py",
|
|
255
|
-
"line":
|
|
255
|
+
"line": 27,
|
|
256
256
|
"value": {
|
|
257
257
|
"!.minichain.registries.manifests.RegistryManifest": {
|
|
258
258
|
"module": "ommlds.minichain.backends.impls.groq.chat",
|
|
@@ -291,7 +291,7 @@
|
|
|
291
291
|
"module": ".minichain.backends.impls.groq.stream",
|
|
292
292
|
"attr": null,
|
|
293
293
|
"file": "ommlds/minichain/backends/impls/groq/stream.py",
|
|
294
|
-
"line":
|
|
294
|
+
"line": 34,
|
|
295
295
|
"value": {
|
|
296
296
|
"!.minichain.registries.manifests.RegistryManifest": {
|
|
297
297
|
"module": "ommlds.minichain.backends.impls.groq.stream",
|
ommlds/__about__.py
CHANGED
ommlds/cli/backends/meta.py
CHANGED
|
@@ -23,7 +23,7 @@ class FirstInWinsBackendProvider(BackendProvider[ServiceT]):
|
|
|
23
23
|
def provide_backend(self) -> ta.AsyncContextManager[ServiceT]:
|
|
24
24
|
@contextlib.asynccontextmanager
|
|
25
25
|
async def inner():
|
|
26
|
-
from ...minichain.
|
|
26
|
+
from ...minichain.wrappers.firstinwins import AsyncioFirstInWinsService
|
|
27
27
|
|
|
28
28
|
async with contextlib.AsyncExitStack() as aes:
|
|
29
29
|
svcs = [
|