AIAssistantDialog.tsx is a setTimeout stub — no LLM is actually called

Đang mở
#10 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
react, typescript
Lĩnh vực
ai, desktop

Hướng nghiên cứu

Start by reading AIAssistantDialog.tsx and the provider integration in VisualOptimizer, including how aiStore supplies provider keys. Compare the dialog’s 800ms setTimeout response with the real provider flow, then determine which listed fix option fits the project. Done means the toolbar assistant either calls a real provider or is removed, with no canned response presented as AI output.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug needs triage

Severity: P1 — misleading to users

The standalone AI Assistant dialog (launched from the toolbar) does not call any LLM provider. It runs an 800ms setTimeout and returns a canned response.

The real BYO-AI integration lives inside VisualOptimizer (the EXPLAIN view) and does call OpenAI / Anthropic / Gemini / Ollama using keys from aiStore. That one is real and worth featuring.

Fix options

  • (a) Wire the standalone dialog to the same provider chain VisualOptimizer uses.
  • (b) Remove the dialog from the toolbar entirely until it's wired.
  • (c) Repurpose it as a SQL chat surface that calls the same providers.

Why this matters

A user who finds the standalone AI Assistant button will get a fake response and lose trust. Until fixed, the marketing site only references the AI inside the EXPLAIN viewer.

Source: audit/app-bugs.md item #2.

Ngôn ngữ chính
TypeScript
Star
6
Fork
1
Merge trung bình
17 phút
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của openidle-dev/queryden

Tất cả issue của openidle-dev/queryden

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.