Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions portkey_ai/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,12 @@
AsyncContainersFiles,
Content,
AsyncContent,
Integrations,
AsyncIntegrations,
IntegrationsWorkspaces,
AsyncIntegrationsWorkspaces,
IntegrationsModels,
AsyncIntegrationsModels,
)

from portkey_ai.version import VERSION
Expand Down Expand Up @@ -265,4 +271,10 @@
"AsyncContainersFiles",
"Content",
"AsyncContent",
"Integrations",
"AsyncIntegrations",
"IntegrationsWorkspaces",
"AsyncIntegrationsWorkspaces",
"IntegrationsModels",
"AsyncIntegrationsModels",
]
12 changes: 12 additions & 0 deletions portkey_ai/api_resources/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,12 @@
AsyncContainersFiles,
Content,
AsyncContent,
Integrations,
AsyncIntegrations,
IntegrationsWorkspaces,
AsyncIntegrationsWorkspaces,
IntegrationsModels,
AsyncIntegrationsModels,
)
from .utils import (
Modes,
Expand Down Expand Up @@ -257,4 +263,10 @@
"AsyncContainersFiles",
"Content",
"AsyncContent",
"Integrations",
"AsyncIntegrations",
"IntegrationsWorkspaces",
"AsyncIntegrationsWorkspaces",
"IntegrationsModels",
"AsyncIntegrationsModels",
]
15 changes: 15 additions & 0 deletions portkey_ai/api_resources/apis/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,15 @@

from .collections import Collections, AsyncCollections

from .integrations import (
Integrations,
AsyncIntegrations,
IntegrationsWorkspaces,
AsyncIntegrationsWorkspaces,
IntegrationsModels,
AsyncIntegrationsModels,
)

sys.modules["openai"] = vendored_openai # For pydantic v1 and v2 compatibility

__all__ = [
Expand Down Expand Up @@ -263,4 +272,10 @@
"AsyncContainersFiles",
"Content",
"AsyncContent",
"Integrations",
"AsyncIntegrations",
"IntegrationsWorkspaces",
"AsyncIntegrationsWorkspaces",
"IntegrationsModels",
"AsyncIntegrationsModels",
]
Loading