Skip to content

feat(integrations): add public API to toggle AI Reply on AI providers - #1655

Merged
nguyenvantruc92 merged 1 commit into
mainfrom
feat/ai-provider-auto-reply-api
Nov 5, 2026
Merged

nguyenvantruc92 merged 1 commit into
mainfrom
feat/ai-provider-auto-reply-api

Conversation

@nguyenvantruc92

Copy link
Copy Markdown
Contributor

Add PATCH /v1/integrations/ai/{provider} so agents can turn the AI Reply
(autoReply) switch on or off for claude, deepseek, gemini, muse and
openai. Until now only the UI could write it, so a bot connected through
the API never started replying on its own.

The handler returns 404 when the provider is not connected, updates
through the same service the UI uses, and invalidates the AI integration
cache so the worker sees the new value immediately.

Add the CLI command name integrations:update-ai: on the same path as
GET it would otherwise collide with find-by-ai and be silently dropped.

OpenRouter and OpenAI-compatible are not covered yet.

@github-actions github-actions Bot added the feature New feature or request label Nov 5, 2026
@nguyenvantruc92
nguyenvantruc92 force-pushed the feat/ai-provider-auto-reply-api branch from bb72007 to 6f68575 Compare November 5, 2026 06:41
@nguyenvantruc92
nguyenvantruc92 merged commit 4632ceb into main Nov 5, 2026
14 checks passed
hello-jackytruong referenced this pull request in hello-jackytruong/ChatWorkAI Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant