Skip to content

docs(agentic): enrich cache section with mermaid flowchart and examples#898

Merged
mrh997 merged 1 commit into
mainfrom
feat/mrh/readme
Jul 2, 2026
Merged

docs(agentic): enrich cache section with mermaid flowchart and examples#898
mrh997 merged 1 commit into
mainfrom
feat/mrh/readme

Conversation

@mrh997

@mrh997 mrh997 commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds a mermaid flowchart and code examples to the Cache documentation section in both agenticopenai and agenticark READMEs (EN + zh_CN). The diagram visually explains how the SDK resolves PreviousResponseID — including auto-cache discovery, WithHeadPreviousResponseID fallback, and InvalidateMessageCaches reset flow.

Key Changes

  1. Added a color-coded mermaid flowchart showing the cache resolution logic with concrete input/output examples.
  2. Added a code example demonstrating InvalidateMessageCaches usage when switching models mid-conversation.
  3. Applied consistently across all four README files (agenticopenai EN/zh_CN, agenticark EN/zh_CN).

@github-actions

Copy link
Copy Markdown

Need to create a new tag

The following modules have changes and may need version updates:

  • components/model/agenticopenai (Current: components/model/agenticopenai/v0.2.2)

  • components/model/agenticark (Current: components/model/agenticark/v0.2.4)

⚠️ Please create and push new version tags for these modules after merging this PR.

@mrh997 mrh997 force-pushed the feat/mrh/readme branch from 69b9409 to a77148b Compare June 29, 2026 14:08
@github-actions

Copy link
Copy Markdown

Need to create a new tag

The following modules have changes and may need version updates:

  • components/model/agenticopenai (Current: components/model/agenticopenai/v0.2.2)

  • components/model/agenticark (Current: components/model/agenticark/v0.2.4)

  • components/model/agenticclaude (Current: components/model/agenticclaude/v0.1.1)

⚠️ Please create and push new version tags for these modules after merging this PR.

@mrh997 mrh997 merged commit c05d17c into main Jul 2, 2026
8 checks passed
@mrh997 mrh997 deleted the feat/mrh/readme branch July 2, 2026 02:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants