Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta Adatta ai principianti
#3,964 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
82/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
react, typescript
Ambito
frontend

Direzione di ricerca

Inizia da ServiceProviderNew.tsx e confronta la convalida di Name e Upstream URL con l’errore inline esistente per Version e il tooltip del pulsante disabilitato nel modulo di creazione del proxy. Usa tests/framework/suites/ui/features/aiw_llm/provider_creation.feature per verificare lo scenario AIW-PRV-002. Il lavoro è completato quando i campi obbligatori vuoti mostrano errori inline, non viene creato alcun provider e lo scenario ha esito positivo.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.
Lingua principale
Go
Stelle
79
Fork
130
Merge medio
1g 16h
PR unite (30g)
169

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di wso2/api-platform

Tutte le issue di wso2/api-platform

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.