06-guardrail-integration - customer_profile_tools.py missing quotes for error messages

Aperta
#39 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
1/5
Tempo stimato
Meno di un'ora
Idoneità per principianti
52/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Tranquilla
Stack tecnologico
python
Ambito
backend

Direzione di ricerca

Open 06-guardrail-integration/customer_profile_tools.py and review its error return statements, comparing them with the example in the issue. Add the missing quotes around the content key in each affected return statement. Done means all error return dictionaries in that file use a quoted content key.

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

Descrizione

bug

In 06-guardrail-integration - customer_profile_tools.py, see all return statements for error messages in this python file.
Example:

return {"status": "error", content: [{"text": "Either customer_id or email must be provided"}]}

where the key content should have quotes such as:

return {"status": "error", "content": [{"text": "Either customer_id or email must be provided"}]}

Lingua principale
Python
Stelle
897
Fork
450
Merge medio
1g 9h
PR unite (30g)
9

Preparare l'ambiente

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 strands-agents/samples

Tutte le issue di strands-agents/samples

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.