MCPcopy Create free account
hub / github.com/anomalyco/models.dev / HelpDialog

Function HelpDialog

packages/web/src/render.tsx:1458–1558  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1456}
1457
1458function HelpDialog() {
1459 return (
1460 <dialog id="modal">
1461 <div class="header">
1462 <h2>How to use</h2>
1463 <button id="close" aria-label="Close">
1464 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
1465 <line
1466 x1="18"
1467 y1="6"
1468 x2="6"
1469 y2="18"
1470 stroke="currentColor"
1471 stroke-width="2"
1472 stroke-linecap="round"
1473 />
1474 <line
1475 x1="6"
1476 y1="6"
1477 x2="18"
1478 y2="18"
1479 stroke="currentColor"
1480 stroke-width="2"
1481 stroke-linecap="round"
1482 />
1483 </svg>
1484 </button>
1485 </div>
1486 <div class="body">
1487 <p>
1488 <a href="/">Models.dev</a> is a comprehensive open-source database of
1489 AI model specifications, pricing, and features.
1490 </p>
1491 <p>
1492 The homepage starts with provider-agnostic model metadata. Model pages
1493 list the providers serving that model; provider pages list every model
1494 available from that provider; lab pages group canonical models by
1495 author.
1496 </p>
1497 <h2>API</h2>
1498 <p>
1499 You can access provider data, provider-agnostic model metadata, or the
1500 combined catalog through JSON endpoints.
1501 </p>
1502 <div class="code-block">
1503 <code>
1504 curl <a href="/api.json">https://models.dev/api.json</a>
1505 </code>
1506 </div>
1507 <div class="code-block">
1508 <code>
1509 curl <a href="/models.json">https://models.dev/models.json</a>
1510 </code>
1511 </div>
1512 <div class="code-block">
1513 <code>
1514 curl <a href="/catalog.json">https://models.dev/catalog.json</a>
1515 </code>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected