Skip to content

Conversation

@iqdoctor
Copy link

@iqdoctor iqdoctor commented Nov 9, 2025

No description provided.

evalstate and others added 6 commits November 8, 2025 10:37
* Add timing column to /history command display

- Add timing extraction helper function to get duration_ms from FAST_AGENT_TIMING channel
- Update /history command to display turn time between Role and Chars columns
- Display "-" when timing data is not available (e.g., for tool results)
- Modernize type hints to use Python 3.10+ syntax (X | None instead of Optional[X])
- Update imports to use collections.abc directly for Mapping and Sequence

The timing data is already captured consistently in both generate() and structured()
methods in fastagent_llm.py, so this change only adds the display functionality.

* Make /history display responsive to terminal width

- >= 80 cols: Show all columns (Role, Time, Chars, Summary)
- >= 60 cols: Show Role, Time, Chars, Summary
- >= 50 cols: Show Role, Chars, Summary (drop Time)
- < 50 cols: Show Role, Summary (drop Time and Chars)

This ensures the Summary column always has adequate space on narrower
terminals by progressively hiding less critical columns.

---------

Co-authored-by: Claude <noreply@anthropic.com>
Move boto3, tensorzero, and azure-identity from core dependencies to
optional extras to reduce package weight. The core package is now ~50MB
lighter.

Changes:
- boto3 moved to [bedrock] extra (~50MB with botocore)
- tensorzero moved to [tensorzero] extra (~28MB)
- azure-identity removed from core (already in [azure] extra)
- Added [all-providers] extra for convenience

Install examples:
- Core only: uv pip install fast-agent-mcp
- With Bedrock: uv pip install fast-agent-mcp[bedrock]
- With TensorZero: uv pip install fast-agent-mcp[tensorzero]
- All providers: uv pip install fast-agent-mcp[all-providers]

All providers already have proper error handling with clear messages
when their optional dependencies are missing. Tests verify that:
1. Core package installs without heavy dependencies
2. Optional extras can be installed independently
3. Missing dependencies produce helpful error messages

Co-authored-by: Claude <noreply@anthropic.com>
@iqdoctor iqdoctor merged commit 4b26a70 into strato-space:main Nov 9, 2025
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