hermes-agent/agent
teknium1 58fce0a37b feat(api): implement dynamic max tokens handling for various providers
- Added _max_tokens_param method in AIAgent to return appropriate max tokens parameter based on the provider (OpenAI vs. others).
- Updated API calls in AIAgent to utilize the new max tokens handling.
- Introduced auxiliary_max_tokens_param function in auxiliary_client for consistent max tokens management across auxiliary clients.
- Refactored multiple tools to use auxiliary_max_tokens_param for improved compatibility with different models and providers.
2026-02-26 20:23:56 -08:00
..
__init__.py Refactor Terminal and AIAgent cleanup 2026-02-21 22:31:43 -08:00
auxiliary_client.py feat(api): implement dynamic max tokens handling for various providers 2026-02-26 20:23:56 -08:00
context_compressor.py feat(api): implement dynamic max tokens handling for various providers 2026-02-26 20:23:56 -08:00
display.py refactor: update failure message handling in display module and add debug logging in code execution tool 2026-02-24 14:25:53 -08:00
model_metadata.py Refactor Terminal and AIAgent cleanup 2026-02-21 22:31:43 -08:00
prompt_builder.py Harden agent attack surface: scan writes to memory, skills, cron, and context files 2026-02-25 23:43:15 -05:00
prompt_caching.py Refactor Terminal and AIAgent cleanup 2026-02-21 22:31:43 -08:00
trajectory.py Refactor Terminal and AIAgent cleanup 2026-02-21 22:31:43 -08:00