Skip to content
Source
Sign inSign up
TanStack/schemas

Keep a dead NVIDIA retrieval-index link from failing every models poll #685

Mergedtombeckenhammerged 1 commit intomain from100001-nvidia-retrieval-index-links-embed-qa-4-to-a-404-page-modelsmerged by tombeckenham View on GitHub

Showing 3 changed files with 199 additions and 2 deletions (loading 1).

x
0 of 3 viewed, 3 left
139 additions and 0 deletionssrc/server/providers/adapters/nvidia.test.tsModified
View file
@@ -671,6 +671,145 @@
'parsed 0 generation specs',
+​
+ it('reports a listed embed-qa-4 whose retrieval index page 404s, and does not fetch a stale index row', async () => {
+ const infer =
+ 'https://docs.api.nvidia.com/nim/reference/nvidia-embedding-2b-infer'
+ const retired =
+ 'https://docs.api.nvidia.com/nim/reference/nvidia-embed-qa-retired-infer'
+ const glm = 'z-ai/glm-5.3-flash'
+ const glmInfer =
+ 'https://docs.api.nvidia.com/nim/reference/z-ai-glm-5-3-flash-infer'
+ const openapi = `# OpenAPI definition
+​
+\`\`\`json
+${JSON.stringify({
+ openapi: '3.1.0',
+ paths: {
+ '/chat/completions': {
+ post: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ schema: {
+ type: 'object',