serverTools is null with no factSources entry on 66 chat rows; Grok and Gemini tool lists look short

Đang mở
#707 2 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@tombeckenham đang làm issue này rồi.

Từ ngày 21/11/2026.

  • #721 của @tombeckenham — đã merge

Đánh giá

Issue này chưa được đánh giá.

Mô tả

Problem

serverTools is null on 66 chat rows, and none of them has a factSources.serverTools entry. No row has []. A reader cannot tell "this model has no built-in tools" from "not filled yet".

#409 asked for this and is closed, but its acceptance is not met. Snapshot 2026-11-21, GET /v1/models?provider=…&provenance=1, chat rows only.

Provider Chat rows serverTools null, no factSources entry Examples
openai 70 19 gpt-5-search-api, gpt-audio, gpt-audio-1.5
mistral 32 16 codestral-2508, ministral-14b-2512, glm-5-2
gemini 31 12 antigravity-preview-09-2026, aqa
byteplus 23 11 deepseek-v3-2-251201, glm-4-7-251222, seed-1-6-250615
groq 7 5 allam-2-7b, openai/gpt-oss-safeguard-20b
grok 7 3 grok-4.3, grok-4.20-multi-agent-0309

Two lists also look short:

  • grok: every filled row has only ["attachment_search"]. #409 says xAI documents web_search and x_search.
  • gemini: the vocabulary across all rows is codeExecution, computerUse, fileSearch, googleMaps, urlContext. Grounding with Google Search is not in it.

Impact

TanStack AI writes each new model's built-in tool list from this field, with no second source and no hand-written list. A null with no entry forces a guess.

Ask

  • When the provider documents no built-in tools for a model, return serverTools: [], or keep null and add factSources.serverTools with derivation: "source-silent" (as #273 does for maxOutput).
  • Check the Grok and Gemini tool lists against the provider docs.

Acceptance

  • Every chat row of the six providers above has serverTools as an array, or a factSources.serverTools entry.
Ngôn ngữ chính
TypeScript
Star
0
Fork
1
Merge trung bình
5 giờ 40 phút
Pull request đã merge (30 ngày)
193

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của TanStack/schemas

Tất cả issue của TanStack/schemas

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.