From d8b434c539fbc76291c9e83e04274a17aeb1cc9f Mon Sep 17 00:00:00 2001 From: kjankov Date: Thu, 18 Jun 2026 17:12:45 -0400 Subject: [PATCH] docs: fix stale warp_sdk import in README usage example Replace outdated 'from warp_sdk import WarpAPI' with correct 'from oz_agent_sdk import OzAPI', update client instantiation to match the pattern used throughout the rest of the README, and fix response attribute from task_id to run_id. Co-Authored-By: Oz --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9aba4a6..cdc5001 100644 --- a/README.md +++ b/README.md @@ -43,9 +43,12 @@ print(response.run_id) You can configure the agent with a custom environment and other settings using the `config` parameter: ```python -from warp_sdk import WarpAPI +import os +from oz_agent_sdk import OzAPI -client = WarpAPI() +client = OzAPI( + api_key=os.environ.get("WARP_API_KEY"), # This is the default and can be omitted +) response = client.agent.run( prompt="Fix the bug in auth.go", @@ -56,7 +59,7 @@ response = client.agent.run( "base_prompt": "You are a helpful coding assistant.", # Optional: custom base prompt }, ) -print(response.task_id) +print(response.run_id) ``` #### Configuration options