Skip to content

Conversation

bhouston
Copy link
Member

Description\nThis PR implements dynamic context window detection for Anthropic models using the Anthropic SDK's models.list() method, as requested in issue #342.\n\n## Changes\n- Replaced hard-coded context window sizes with dynamic detection using models.list()\n- Added caching mechanism to store context window sizes for future use\n- Implemented fallback mechanisms in case the API call fails or returns incomplete data\n- Added model alias handling for '-latest' and date-versioned models\n\n## Testing\n- Verified that the code builds and passes all tests\n- Ensured proper error handling for cases where the API call fails\n\nCloses #342

semantic-release-bot and others added 4 commits March 21, 2025 20:18
# [mycoder-agent-v1.7.0](mycoder-agent-v1.6.0...mycoder-agent-v1.7.0) (2025-03-21)

### Bug Fixes

* Fix TypeScript errors and tests for message compaction feature ([d4f1fb5](d4f1fb5))

### Features

* Add automatic compaction of historical messages for agents ([a5caf46](a5caf46)), closes [#338](#338)
* Improve message compaction with proactive suggestions ([6276bc0](6276bc0))
@bhouston bhouston merged commit a9fc083 into main Mar 22, 2025
1 check passed
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.

2 participants