Skip to content

feat: support dumping xllm server flags to json file.#1518

Open
XuZhang99 wants to merge 1 commit into
jd-opensource:mainfrom
XuZhang99:feat/dump_config
Open

feat: support dumping xllm server flags to json file.#1518
XuZhang99 wants to merge 1 commit into
jd-opensource:mainfrom
XuZhang99:feat/dump_config

Conversation

@XuZhang99
Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request implements a feature to dump the startup configuration to a JSON file, controlled by new global flags enable_dump_config_json and dump_config_json_file. It introduces append_config_json methods across various configuration classes and a centralized dump_startup_config utility. Feedback was provided to optimize the APPEND_JSON_VALUE_IF_NOT_DEFAULT macro by ensuring the value expression is evaluated only once to prevent side effects or redundant function calls.

Comment thread xllm/core/framework/config/config_json_utils.h Outdated
@XuZhang99 XuZhang99 force-pushed the feat/dump_config branch 2 times, most recently from 87fa5df to f4863c7 Compare May 22, 2026 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant