SAP / SAP/cloud-sdk-python

Support MCP tools caching

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

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

Từ ngày 14/9/2026.

Ngôn ngữ chính
Python
Star
28
Fork
42
Merge trung bình
2 ngày 13 giờ
Pull request đã merge (30 ngày)
35

Mô tả

Describe the Problem

When listing tools, cache should be enabled and evicted when case consumer want.

Note: It should use similar approach for what is already in place for token caching

Propose a Solution
# caches MCP tools for 600 ms and resets in case callback_to_evict is called
options = { ttl="600", envict=callback_to_evict }
agw_client.list_tools(cache=options)
Describe Alternatives

No response

Affected Development Phase

Development

Impact

No Impact

Timeline

No response

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

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.

Đánh giá

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

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.