Skip to content

chore: remove ask and ask_sync from agent SDK#3265

Draft
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1776815260-remove-ask
Draft

chore: remove ask and ask_sync from agent SDK#3265
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1776815260-remove-ask

Conversation

@devin-ai-integration
Copy link
Copy Markdown
Contributor

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:

  • Top-level ask() and ask_sync() functions (airbyte_agent_sdk/ask.py deleted)
  • Workspace.ask() method (workspace.py)
  • AskResult / AskToolCallResult dataclasses (executor/models.py)
  • AirbyteCloudClient.ask_workspace() HTTP client method (cloud_utils/client.py)

Updated:

  • __init__.py — drop ask, ask_sync, AskResult from imports and __all__; update module docstring
  • config.py, errors.py — docstrings no longer reference ask()/ask_sync()
  • .claude/skills/airbyte-sdk-reference/sdk-api.md and .codex/skills/airbyte-sdk-reference/sdk-api.md — update configure() comment

Review & Testing Checklist for Human

  • Confirm the backend /api/v1/workspaces/query/structured endpoint is no longer called by any SDK consumer (this PR drops the client method outright — downstream users relying on it will break).
  • Verify no other Airbyte repo imports ask, ask_sync, AskResult, AskToolCallResult, or ask_workspace from airbyte_agent_sdk.
  • Decide whether this warrants a version bump in pyproject.toml (currently 0.1.47; this is API-removing and would normally be a breaking change, but the project is pre-1.0).

Notes

  • Ruff passes on all touched files (repo-wide lint has 703 pre-existing errors unrelated to this PR).
  • No tests existed for the removed functions.

Link to Devin session: https://app.devin.ai/sessions/bda72850da584aac90f63d16a8d25e9b

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>
@devin-ai-integration
Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants