Repository navigation
Update documentation for Anthropic, Google, OpenAI, and Agent integra… - #35
Merged
Merged
Conversation
…tions; synchronize update dates and enhance caching explanations
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updates the Anthropic, OpenAI, Google and
Agentreference docs to match how 10xGraph now handles Anthropic prompt caching and provider-specific keyword arguments.What changed
Anthropic prompt caching (anthropic.md)
anthropic_cache=True.anthropic_cache=Falseturns caching off.anthropic_cache={"type": "ephemeral", "ttl": "1h"}sets the TTL for both markers.Message.usages.cache_read_input_tokensand the DEBUG log.cache_controlis set anywhere (top-level kwarg, system block or tool), 10xGraph adds no breakpoints of its own.service_tier,inference_geo,metadata,cache_control).Kwarg forwarding (OpenAI, Google, Agent reference)
Agent(...)/ReactAgent(...)kwargs are forwarded only if the installed provider SDK defines them:messages.create/messages.streamresponses.create/chat.completions.create(and theirparsevariants)types.GenerateContentConfigmetadata,service_tier).### Provider-specific settingssection with a table per provider. Lists the settings 10xGraph reads itself, which are not forwarded (provider,api_style,base_url,use_vertex_ai,anthropic_cache).CALL_EXCLUDED_KWARGSwording and clarifies the caching FAQ answer.cached_content,temperature,max_tokens) with the SDK-field rule.Other
updated:to2026-11-20on all four pages.Testing
npm run buildpasses/docs/reference/python/agent#provider-specific-settings,/docs/integrations/anthropic#prompt-caching