Skip to content

20251220#129

Merged
mfukushim merged 1 commit intomainfrom
20251219
Dec 19, 2025
Merged

20251220#129
mfukushim merged 1 commit intomainfrom
20251219

Conversation

@mfukushim
Copy link
Owner

Note: Removed /v1 from baseUrl setting in LM Studio.
Add maxModelContextSize and inputTokens to generators for token usage and context length tracking

  • Introduced maxModelContextSize to represent model-specific context limits across generators.
  • Replaced totalTokens with inputTokens for clarity in token usage tracking.
  • Updated UI and logging to display inputTokens/maxModelContextSize and respective usage percentage.
  • Integrated HttpClient for retrieving and utilizing model-specific context size in supported generators.
  • Adjusted tests, schemas, and message definitions to reflect these changes and ensure proper functionality.

Add `maxModelContextSize` and `inputTokens` to generators for token usage and context length tracking

- Introduced `maxModelContextSize` to represent model-specific context limits across generators.
- Replaced `totalTokens` with `inputTokens` for clarity in token usage tracking.
- Updated UI and logging to display `inputTokens/maxModelContextSize` and respective usage percentage.
- Integrated `HttpClient` for retrieving and utilizing model-specific context size in supported generators.
- Adjusted tests, schemas, and message definitions to reflect these changes and ensure proper functionality.
@mfukushim mfukushim merged commit 1655426 into main Dec 19, 2025
6 checks 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.

1 participant