Skip to content

docs(api): document keep_recent_count param on commit() (#2284)#2315

Open
r266-tech wants to merge 2 commits into
volcengine:mainfrom
r266-tech:docs-api-commit-keep-recent-count-2284
Open

docs(api): document keep_recent_count param on commit() (#2284)#2315
r266-tech wants to merge 2 commits into
volcengine:mainfrom
r266-tech:docs-api-commit-keep-recent-count-2284

Conversation

@r266-tech
Copy link
Copy Markdown
Contributor

#2284 added a keyword-only keep_recent_count: int = 0 param to the Python SDK commit() / commit_async() / commit_session(), but the canonical commit() API reference Parameters table (EN + ZH) still lists only session_id.

This adds the missing row in both docs/en/api/05-sessions.md and docs/zh/api/05-sessions.md. Description grounded in openviking_cli/client/base.py docstring ("Number of recent live messages to retain after commit") + default 0.

Pure docs, no behavior change.

@github-actions
Copy link
Copy Markdown

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

🎫 Ticket compliance analysis ✅

2284 - Fully compliant

Compliant requirements:

  • Added keep_recent_count parameter to EN API docs
  • Added keep_recent_count parameter to ZH API docs
⏱️ Estimated effort to review: 1 🔵⚪⚪⚪⚪
🏅 Score: 100
🧪 No relevant tests
🔒 No security concerns identified
✅ No TODO sections
🔀 No multiple PR themes
⚡ No major issues detected

@github-actions
Copy link
Copy Markdown

PR Code Suggestions ✨

No code suggestions found for the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant