Skip to content

Commit 01f2ba5

Browse files
committed
Merge branch 'p_sync/base' into p_sync/sync
2 parents 40ffd1e + ecee384 commit 01f2ba5

19 files changed

+76
-567
lines changed

poetry.lock

Lines changed: 49 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10077,7 +10077,7 @@ from humanloop import Humanloop
1007710077
client = Humanloop(
1007810078
api_key="YOUR_API_KEY",
1007910079
)
10080-
client.agents.continue_(
10080+
client.agents.continue_call(
1008110081
log_id="log_id",
1008210082
messages=[{"role": "user"}],
1008310083
)

src/humanloop/agents/client.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
from .requests.agents_call_request_tool_choice import AgentsCallRequestToolChoiceParams
1919
from .requests.agents_call_request_agent import AgentsCallRequestAgentParams
2020
from ..types.agent_call_response import AgentCallResponse
21-
from ..types.agent_continue_stream_response import AgentContinueStreamResponse
22-
from ..types.agent_continue_response import AgentContinueResponse
21+
from ..types.agent_continue_call_stream_response import AgentContinueCallStreamResponse
22+
from ..types.agent_continue_call_response import AgentContinueCallResponse
2323
from ..types.file_sort_by import FileSortBy
2424
from ..types.sort_order import SortOrder
2525
from ..types.paginated_data_agent_response import PaginatedDataAgentResponse
@@ -791,7 +791,7 @@ def continue_(
791791
client = Humanloop(
792792
api_key="YOUR_API_KEY",
793793
)
794-
client.agents.continue_(
794+
client.agents.continue_call(
795795
log_id="log_id",
796796
messages=[{"role": "user"}],
797797
)
@@ -2337,7 +2337,7 @@ async def continue_(
23372337
23382338
23392339
async def main() -> None:
2340-
await client.agents.continue_(
2340+
await client.agents.continue_call(
23412341
log_id="log_id",
23422342
messages=[{"role": "user"}],
23432343
)

src/humanloop/agents/raw_client.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
from .requests.agents_call_request_tool_choice import AgentsCallRequestToolChoiceParams
2828
from .requests.agents_call_request_agent import AgentsCallRequestAgentParams
2929
from ..types.agent_call_response import AgentCallResponse
30-
from ..types.agent_continue_stream_response import AgentContinueStreamResponse
31-
from ..types.agent_continue_response import AgentContinueResponse
30+
from ..types.agent_continue_call_stream_response import AgentContinueCallStreamResponse
31+
from ..types.agent_continue_call_response import AgentContinueCallResponse
3232
from ..types.file_sort_by import FileSortBy
3333
from ..types.sort_order import SortOrder
3434
from ..types.paginated_data_agent_response import PaginatedDataAgentResponse
@@ -968,7 +968,7 @@ def continue_(
968968
_data = typing.cast(
969969
AgentContinueResponse,
970970
construct_type(
971-
type_=AgentContinueResponse, # type: ignore
971+
type_=AgentContinueCallResponse, # type: ignore
972972
object_=_response.json(),
973973
),
974974
)
@@ -2884,7 +2884,7 @@ async def continue_(
28842884
_data = typing.cast(
28852885
AgentContinueResponse,
28862886
construct_type(
2887-
type_=AgentContinueResponse, # type: ignore
2887+
type_=AgentContinueCallResponse, # type: ignore
28882888
object_=_response.json(),
28892889
),
28902890
)

src/humanloop/logs/client.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
from ..core.client_wrapper import SyncClientWrapper
44
from .raw_client import RawLogsClient
55
import typing
6-
from ..types.version_status import VersionStatus
76
import datetime as dt
87
from ..core.request_options import RequestOptions
98
from ..core.pagination import SyncPager

0 commit comments

Comments
 (0)