Skip to content

Commit

Permalink
Merge pull request #106 from Portkey-AI/enhancement/betaClass
Browse files Browse the repository at this point in the history
class Beta sub methods
  • Loading branch information
VisargD authored Mar 23, 2024
2 parents b7f70df + 7b99dd0 commit d72866e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions portkey_ai/api_resources/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ class Portkey(APIClient):
models: apis.Models

class beta:
assistants: apis.Assistants
threads: apis.Threads

def __init__(self, client: Portkey) -> None:
self.assistants = apis.Assistants(client)
self.threads = apis.Threads(client)
Expand Down Expand Up @@ -106,6 +109,9 @@ class AsyncPortkey(AsyncAPIClient):
models: apis.AsyncModels

class beta:
assistants: apis.AsyncAssistants
threads: apis.AsyncThreads

def __init__(self, client: AsyncPortkey) -> None:
self.assistants = apis.AsyncAssistants(client)
self.threads = apis.AsyncThreads(client)
Expand Down

0 comments on commit d72866e

Please sign in to comment.