Skip to content
Merged
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
3 changes: 1 addition & 2 deletions src/unstract/sdk/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
__version__ = "v0.77.2"

__version__ = "v0.77.3"

def get_sdk_version() -> str:
"""Returns the SDK version."""
Expand Down
3 changes: 1 addition & 2 deletions src/unstract/sdk/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,7 @@ class MetadataKey:
OUTPUT = "output"
OUTPUT_TYPE = "output_type"
LLM_PROFILE_ID = "llm_profile_id"
USER_DATA = "user_data"

CUSTOM_DATA = "custom_data"

class ToolSettingsKey:
"""A class representing the keys used in the tool settings.
Expand Down
2 changes: 1 addition & 1 deletion src/unstract/sdk/tool/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def from_tool_args(cls, args: list[str]) -> "BaseTool":
tool.source_file_name = tool._exec_metadata.get(MetadataKey.SOURCE_NAME, "")
tool.org_id = tool._exec_metadata.get(MetadataKey.ORG_ID)
tool.llm_profile_id = tool._exec_metadata.get(MetadataKey.LLM_PROFILE_ID)
tool.user_data = tool._exec_metadata.get(MetadataKey.USER_DATA, {})
tool.custom_data = tool._exec_metadata.get(MetadataKey.CUSTOM_DATA, {})
return tool

def elapsed_time(self) -> float:
Expand Down