Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

/models REST endpoint lacks context size

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

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

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
68/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
cpp
Lĩnh vực
ai, api

Hướng nghiên cứu

Start at the REST /v1/models endpoint and trace how its model metadata response is assembled. Compare the current response with the expected context-size fields shown in the report, then run the curl request against a configured model to verify that the context window is exposed and available to clients.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug

Describe the bug
the models endpoint only shows the configured model name and a timestamp. the lack of a context window size makes it impossible for agentic software to know when to trigger auto-compaction.

To Reproduce

$ curl ovms_server:8081/v1/models
{"data":[{"id":"Ornith-1.5-35B-A3B-Uncensored-OpenVINO-INT4","object":"model","created":1790460054,"owned_by":"OVMS"}],"object":"list"}

Expected behavior

$curl llamacpp_server:8081/v1/models
{"object":"list","data":[{"id":"/home/user/models/offmonreal-Ornith-1.5-35B_Q4_K_M_imatrix_MTP.gguf","object":"model","created":1790459973,"owned_by":"llamacpp","meta":{"vocab_type":2,"n_vocab":248320,"n_ctx_train":262144,"n_embd":2048,"n_params":34660610688,"size":21155768832},"max_model_len":262144}],"models":[{"slug":"/home/user/models/offmonreal-Ornith-1.5-35B_Q4_K_M_imatrix_MTP.gguf","display_name":"/home/user/models/offmonreal-Ornith-1.5-35B_Q4_K_M_imatrix_MTP.gguf","description":null,"default_reasoning_level":null,"supported_reasoning_levels":[],"shell_type":"default","visibility":"list","supported_in_api":true,"priority":0,"additional_speed_tiers":[],"service_tiers":[],"default_service_tier":null,"availability_nux":null,"upgrade":null,"base_instructions":"","model_messages":null,"supports_reasoning_summaries":false,"default_reasoning_summary":"auto","support_verbosity":false,"default_verbosity":null,"apply_patch_tool_type":null,"web_search_tool_type":"text","truncation_policy":{"mode":"tokens","limit":262144},"supports_parallel_tool_calls":false,"supports_image_detail_original":false,"context_window":262144,"max_context_window":262144,"auto_compact_token_limit":235929,"effective_context_window_percent":95,"experimental_supported_tools":[],"input_modalities":["text"],"supports_search_tool":false,"use_responses_lite":false,"auto_review_model_override":null,"tool_mode":null,"multi_agent_version":null}]}

Logs
Logs from OVMS, ideally with --log_level DEBUG. Logs from client.

Configuration
2026.04 from last week
https://huggingface.co/vonvonhero/Ornith-1.5-35B-A3B-Uncensored-OpenVINO-INT4

Additional context
Add any other context about the problem here.

Ngôn ngữ chính
C++
Star
932
Fork
278
Merge trung bình
2 ngày 15 giờ
Pull request đã merge (30 ngày)
60

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

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 openvinotoolkit/model_server

Tất cả issue của openvinotoolkit/model_server

Issue tương tự

Thêm issue về C++

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.