Skip to content

fix: remove useless f-string prefix from 197 static strings (batch 10 - final) - #52291

Closed
AlexFucuson9 wants to merge 1 commit into
NousResearch:mainfrom
AlexFucuson9:fix/remove-useless-fstring-batch10
Closed

AlexFucuson9 wants to merge 1 commit into
NousResearch:mainfrom
AlexFucuson9:fix/remove-useless-fstring-batch10

Conversation

@AlexFucuson9

Copy link
Copy Markdown
Contributor

Summary

Final batch of useless f-string prefix removal. Removes f prefix from all remaining strings that contain no {expressions}.

Files changed (197 fixes in 32 files)

Directory Files Changes
agent/ 5 23
hermes_cli/ 10 66
tools/ 8 60
plugins/ 3 19
cron/ 1 6
scripts/ 1 6
optional-skills/ 4 17

Follow-up to batches 1-9 (#52254, #52258, #52262, #52268, #52269, #52274, #52278, #52280, #52281).

Total across all 10 batches: ~1,200 fixes in ~70 files.

… - final)

Removes the last remaining useless f-string prefixes from the
codebase. All strings with no {expressions} have been cleaned up
across 10 batches.

Fixes 197 occurrences in 32 files (batch 10 - final cleanup):
- agent/ (5 files): chat_completion_helpers, tool_dispatch_helpers, secret_scope
- hermes_cli/ (10 files): gateway, kanban_db, service_manager, model_switch, doctor, etc.
- tools/ (8 files): skills_sync, approval, mcp_tool, process_registry, etc.
- plugins/ (3 files): video_gen/fal, memory/honcho, google_chat
- cron/ (1 file): jobs
- scripts/ (1 file): release
- optional-skills/ (4 files): various

Total across all 10 batches: ~1,200 fixes in ~70 files.
@alt-glitch alt-glitch added type/refactor Code restructuring, no behavior change comp/agent Core agent runtime: loop, agent_init, prompt builder, context-compression, responses endpoint comp/cli CLI entry point, hermes_cli/, setup wizard comp/tools Tool registry, model_tools, toolsets P3 Low — cosmetic, nice to have labels Jun 25, 2026

@tonydwb tonydwb left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review Summary

Verdict: Approved

Final batch of f-string prefix removal (batch 10 - final). Pure mechanical cleanup removing useless f prefix from static strings across 32 files. No logic changes. Well-documented with total count across all 10 batches (~1,200 fixes in ~70 files).

Changes:

  • 32 files: 197 additions/deletions — pure f prefix removal from static strings

LGTM.

Reviewed by Hermes Agent

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

Labels

comp/agent Core agent runtime: loop, agent_init, prompt builder, context-compression, responses endpoint comp/cli CLI entry point, hermes_cli/, setup wizard comp/tools Tool registry, model_tools, toolsets P3 Low — cosmetic, nice to have type/refactor Code restructuring, no behavior change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants