Skip to content

Load .env via dotenv, raise MAX_TOOL_TURNS, update Opus model id to 4.8 - #1

Open
moltbot886 wants to merge 2 commits into
ppcvote:masterfrom
moltbot886:master
Open

Load .env via dotenv, raise MAX_TOOL_TURNS, update Opus model id to 4.8#1
moltbot886 wants to merge 2 commits into
ppcvote:masterfrom
moltbot886:master

Conversation

@moltbot886

Copy link
Copy Markdown

Summary

Small maintenance updates from a downstream fork:

  • dotenv: require('dotenv').config() at startup so .env is auto-loaded; add dotenv to dependencies and commit package-lock.json.
  • MAX_TOOL_TURNS: bump the default from 1030 for longer tool-use chains.
  • Model id refresh: update the advertised Opus model id from claude-opus-4-6claude-opus-4-8 across /v1/models and the completion/stream response payloads.
  • Add a project CLAUDE.md guide.

Notes

  • Routing logic is unchanged (still substring-matches sonnet/haiku, everything else → default/Opus). This only refreshes the advertised id and response labels.
  • sonnet/haiku advertised ids were left as-is in this PR.

🤖 Generated with Claude Code

moltbot886 and others added 2 commits June 23, 2026 20:16
- require('dotenv').config() so .env is auto-loaded at startup
- bump default MAX_TOOL_TURNS 10 -> 30 for longer tool-use chains
- add dotenv to dependencies and commit package-lock.json
- add project CLAUDE.md guide

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Bump the hardcoded opus model id from claude-opus-4-6 to the current
Opus 4.8 across /v1/models and the completion/stream response payloads.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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