SAP / SAP/cloud-sdk-python

Support MCP tools caching

Offen
#178 1 Kommentar 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@thiagob arbeitet bereits daran.

Seit 14.9.2026.

Vorherrschende Sprache
Python
Sterne
28
Forks
42
Ø Merge
2 T. 13 Std.
Gemergte PRs (30 T.)
35

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.