Skip to content

chore(ai): remove the stale nlq-based useAI hook#94

Merged
os-zhuang merged 1 commit into
mainfrom
chore/remove-stale-useai
Jun 10, 2026
Merged

chore(ai): remove the stale nlq-based useAI hook#94
os-zhuang merged 1 commit into
mainfrom
chore/remove-stale-useai

Conversation

@os-zhuang

Copy link
Copy Markdown
Contributor

Removes the dead useAI hook — it wrapped client.ai.nlq (+ a nlq-backed chat), but the 8.0 server doesn't expose those routes (404). Superseded by useAIChat (the real /ai/chat streaming agent). Was unused except a barrel re-export + its own test.

Lint clean; full suite green (1223).

🤖 Generated with Claude Code

`useAI` wrapped client.ai.nlq (+ a nlq-backed `chat`), but the 8.0 server
doesn't expose those routes — they 404. Superseded by `useAIChat` (the
real /ai/chat streaming agent) and unused except a barrel re-export and
its own test. Remove the dead hook + test and drop the re-export.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@os-zhuang os-zhuang merged commit a9fbe2e into main Jun 10, 2026
1 of 4 checks passed
@os-zhuang os-zhuang deleted the chore/remove-stale-useai branch June 10, 2026 07:00
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.

1 participant