Skip to content

feat: inject model and provider into system prompt#1929

Merged
teknium1 merged 1 commit intomainfrom
hermes/hermes-b29f73b2
Mar 18, 2026
Merged

feat: inject model and provider into system prompt#1929
teknium1 merged 1 commit intomainfrom
hermes/hermes-b29f73b2

Conversation

@teknium1
Copy link
Copy Markdown
Contributor

Adds model name and provider to the system prompt metadata block, right after the session ID and timestamp:

Conversation started: Tuesday, March 18, 2026 02:30 AM
Session ID: abc123
Model: anthropic/claude-opus-4.6
Provider: anthropic

These are frozen at session build time and don't change mid-conversation, so prompt caching is unaffected. 278 tests pass.

Adds model name and provider to the system prompt metadata block,
alongside the existing session ID and timestamp. These are frozen
at session start and don't change mid-conversation, so they won't
break prompt caching.
@teknium1 teknium1 merged commit 7c7feaa into main Mar 18, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant