Skip to content

Commit

Permalink
feat: Updated sdks/python/julep/managers/agent.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] committed Apr 11, 2024
1 parent fdd720f commit 3fd7d4d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sdks/python/julep/managers/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ def _create(
default_settings=default_settings,
model=model,
docs=docs,
metadata=metadata,
)

def _list_items(
Expand Down Expand Up @@ -369,6 +370,7 @@ def get(self, id: Union[str, UUID]) -> Agent:
@beartype
@rewrap_in_class(Agent)
def create(self, **kwargs: AgentCreateArgs) -> Agent:
metadata = kwargs.pop('metadata', {})
"""
Creates a new resource with the specified details.
Expand Down Expand Up @@ -560,6 +562,7 @@ async def get(self, id: Union[UUID, str]) -> Agent:
@beartype
@rewrap_in_class(Agent)
async def create(self, **kwargs: AgentCreateArgs) -> Agent:
metadata = kwargs.pop('metadata', {})
"""
Create a new resource asynchronously with specified details.
Expand Down

0 comments on commit 3fd7d4d

Please sign in to comment.