update_thread_resources(
self,
tool_resources: Any,
) -> None| Name | Type | Description |
|---|---|---|
tool_resources* | Any | The tool resources to set on the thread. For example, to expose additional files to the code interpreter:: |
Update tool resources on the current conversation thread.
Use this method to add or replace file resources (e.g. for
CodeInterpreterTool) on an already-running conversation thread,
enabling mid-conversation file uploads.