Skip to content

Docs: add auto_delete.sessions, rename claude_model_mapping to claude_mapping, and clarify config token handling#125

Merged
CJackHwang merged 1 commit intodevfrom
codex/align-documentation-with-configuration-updates
Mar 21, 2026
Merged

Docs: add auto_delete.sessions, rename claude_model_mapping to claude_mapping, and clarify config token handling#125
CJackHwang merged 1 commit intodevfrom
codex/align-documentation-with-configuration-updates

Conversation

@CJackHwang
Copy link
Owner

Motivation

  • Document a new runtime option to control automatic DeepSeek session cleanup and make it adjustable via Admin Settings.
  • Standardize the Claude model mapping key and clarify compatibility with previous names.
  • Remove confusing token examples from config and explain that runtime tokens are not persisted in config.json.

Description

  • Added auto_delete/auto_delete.sessions to GET /admin/settings and PUT /admin/settings in API.en.md and API.md to expose the new setting.
  • Replaced claude_model_mapping with claude_mapping across README.MD, README.en.md, and config.example.json while documenting backward compatibility for the old name via reading compatibility.
  • Removed token fields from the example accounts entries and added a note that any token in config.json is cleared on load and runtime tokens are kept/refreshed in memory only.
  • Updated config.example.json and README files to include admin and runtime defaults and to document auto_delete.sessions with its default value false and runtime hot-reloadability.

Testing

  • This is a documentation and config-example change only and did not include automated tests.
  • No automated tests were run for these changes.

Codex Task

@vercel
Copy link

vercel bot commented Mar 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ds2api Ready Ready Preview, Comment Mar 21, 2026 7:32am

@CJackHwang CJackHwang merged commit 1e7e0b2 into dev Mar 21, 2026
3 checks passed
@CJackHwang CJackHwang deleted the codex/align-documentation-with-configuration-updates branch March 21, 2026 07:34
CJackHwang added a commit that referenced this pull request Mar 21, 2026
Merge pull request #125 from CJackHwang/codex/align-documentation-with-configuration-updates

Docs: add `auto_delete.sessions`, rename `claude_model_mapping` to `claude_mapping`, and clarify config token handling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant