Skip to content

fix: remove useless f-string prefix from 46 static strings (batch 8) - #52280

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

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

Conversation

@AlexFucuson9

Copy link
Copy Markdown
Contributor

Files changed (46 fixes in 5 files)

File Changes
gateway/platforms/yuanbao.py 10
agent/system_prompt.py 9
plugins/platforms/telegram/adapter.py 9
plugins/memory/hindsight/__init__.py 9
plugins/memory/honcho/session.py 9

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

Fixes 46 occurrences in 5 files:
- gateway/platforms/yuanbao.py (10)
- agent/system_prompt.py (9)
- plugins/platforms/telegram/adapter.py (9)
- plugins/memory/hindsight/__init__.py (9)
- plugins/memory/honcho/session.py (9)
@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/gateway Gateway runner, session dispatch, delivery comp/plugins Plugin system and bundled plugins tool/memory Memory tool and memory providers platform/telegram Telegram bot adapter 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

F-string prefix removal batch 8 (46 fixes in 5 files). Pure mechanical cleanup. No logic changes.

Changes:

  • agent/system_prompt.py: 9 fixes
  • gateway/platforms/yuanbao.py: 10 fixes
  • plugins/memory/hindsight/__init__.py: 9 fixes
  • plugins/memory/honcho/session.py: 9 fixes
  • plugins/platforms/telegram/adapter.py: 9 fixes

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/gateway Gateway runner, session dispatch, delivery comp/plugins Plugin system and bundled plugins P3 Low — cosmetic, nice to have platform/telegram Telegram bot adapter tool/memory Memory tool and memory providers type/refactor Code restructuring, no behavior change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants