Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

AI Workspace: Add LLM Provider form shows no inline errors for empty required fields

Đang mở Phù hợp với người mới
#3,964 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

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

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
82/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
react, typescript
Lĩnh vực
frontend

Hướng nghiên cứu

Bắt đầu với ServiceProviderNew.tsx và so sánh việc kiểm tra Name và Upstream URL với lỗi nội tuyến hiện có của Version và tooltip của nút bị vô hiệu hóa trong biểu mẫu tạo proxy. Dùng tests/framework/suites/ui/features/aiw_llm/provider_creation.feature để kiểm tra kịch bản AIW-PRV-002. Hoàn tất khi các trường bắt buộc để trống hiển thị lỗi nội tuyến, không có provider nào được tạo và kịch bản chạy thành công.

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

Mô tả

Summary

The AI Workspace "Add LLM Provider" form gives no inline validation error for its empty required fields. With Name or Upstream URL empty, Add Provider is silently disabled — no field is marked invalid and nothing tells the user what is missing.

Steps to reproduce

AI Workspace → LLM Providers → Add New Provider → Azure OpenAI. Click into Name and Upstream URL, leave both empty, and press Add Provider. Nothing happens and no error is shown.

Expected

Inline validation errors on the empty required fields (Name, Upstream URL), and nothing is created (scenario sheet AIW-LLM, AIW-PRV-002).

Notes

  • The same form already shows inline errors for Version ("Version must match v."), and the create-proxy form explains its disabled button with tooltips ("Enter a name for the proxy."), so the provider form is inconsistent with both.
  • ServiceProviderNew.tsx gates the button on isFormValid without surfacing per-field errors for Name and Upstream URL.
  • The API side is fine: an incomplete create is rejected with 400 VALIDATION_FAILED.
  • Automated (excluded as @known-issue until fixed): tests/framework/suites/ui/features/aiw_llm/provider_creation.feature.
Ngôn ngữ chính
Go
Star
79
Fork
130
Merge trung bình
1 ngày 15 giờ
Pull request đã merge (30 ngày)
174

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

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

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 wso2/api-platform

Tất cả issue của wso2/api-platform

Issue tương tự

Thêm issue về Go

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.