a2aproject / a2aproject/a2a-inspector

[Bug]: Can't find agent card with endpoint /.well-known/agent.json

Aperta Adatta ai principianti
#86 2 commenti 2 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
490
Fork
152
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### What happened?

ADK A2A server by default expose agent card at /.well-known/agent.json endpoint.

The inspector keeps looking for /.well-known/agent-card.json.

At least support overriding of acceptable endpoint.

### Relevant log output

```shell
Error: An internal server error occurred: HTTP Error 404: Failed to fetch agent card from https://planner-agent-550681616.us-central1.run.app/.well-known/agent-card.json: Client error '404 Not Found' for url 'https://planner-agent-550681616.us-central1.run.app/.well-known/agent-card.json' For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404
```

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

The inspector is looking for the agent card at the wrong endpoint. Find where the endpoint URL is constructed, likely in a configuration or fetch call. The fix is to change the default from '/.well-known/agent-card.json' to '/.well-known/agent.json' or make it configurable. Check for related tests to ensure the change works.

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

Valutazione

Stack tecnologico
typescript
Ambito
api, backend
Tipo di issue
Bug
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Specificata chiaramente
Idoneità per principianti
65/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.