chore: remove ask and ask_sync from agent SDK#3265
Draft
devin-ai-integration[bot] wants to merge 1 commit into
Draft
chore: remove ask and ask_sync from agent SDK#3265devin-ai-integration[bot] wants to merge 1 commit into
devin-ai-integration[bot] wants to merge 1 commit into
Conversation
Removes the workspace-level natural-language query feature: - Top-level ask() and ask_sync() functions (airbyte_agent_sdk/ask.py) - Workspace.ask() method - AskResult / AskToolCallResult dataclasses - AirbyteCloudClient.ask_workspace() HTTP method - References in docstrings and skill docs Co-Authored-By: alexandre@airbyte.io <alexandre@airbyte.io>
Contributor
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Removes the workspace-level natural-language query feature from the agent SDK, per request to "remove the ask function and ask_sync function from the agent sdk" (expanded to the full feature).
Removed:
ask()andask_sync()functions (airbyte_agent_sdk/ask.pydeleted)Workspace.ask()method (workspace.py)AskResult/AskToolCallResultdataclasses (executor/models.py)AirbyteCloudClient.ask_workspace()HTTP client method (cloud_utils/client.py)Updated:
__init__.py— dropask,ask_sync,AskResultfrom imports and__all__; update module docstringconfig.py,errors.py— docstrings no longer referenceask()/ask_sync().claude/skills/airbyte-sdk-reference/sdk-api.mdand.codex/skills/airbyte-sdk-reference/sdk-api.md— updateconfigure()commentReview & Testing Checklist for Human
/api/v1/workspaces/query/structuredendpoint is no longer called by any SDK consumer (this PR drops the client method outright — downstream users relying on it will break).ask,ask_sync,AskResult,AskToolCallResult, orask_workspacefromairbyte_agent_sdk.pyproject.toml(currently0.1.47; this is API-removing and would normally be a breaking change, but the project is pre-1.0).Notes
Link to Devin session: https://app.devin.ai/sessions/bda72850da584aac90f63d16a8d25e9b