core[minor]: rename ToolMessage.raw_output -> artifact (#24185)

This commit is contained in:
Bagatur
2024-07-12 09:52:44 -07:00
committed by GitHub
parent d77d9bfc00
commit 6166ea67a8
9 changed files with 144 additions and 106 deletions

View File

@@ -127,7 +127,7 @@ class SessionsPythonREPLTool(BaseTool):
session_id: str = str(uuid4())
"""The session ID to use for the code interpreter. Defaults to a random UUID."""
response_format: Literal["content_and_raw_output"] = "content_and_raw_output"
response_format: Literal["content_and_artifact"] = "content_and_artifact"
def _build_url(self, path: str) -> str:
pool_management_endpoint = self.pool_management_endpoint