Skip to content

feat: Release v1.1.2 with Agent enhancements, OllamaClient integration, and FunctionTool improvements - #436

Merged
Sylph-AI merged 16 commits into
mainfrom
li_release
Aug 16, 2025
Merged

feat: Release v1.1.2 with Agent enhancements, OllamaClient integration, and FunctionTool improvements#436
Sylph-AI merged 16 commits into
mainfrom
li_release

Conversation

@liyin2015

@liyin2015 liyin2015 commented Aug 16, 2025

Copy link
Copy Markdown
Member

This PR introduces AdalFlow v1.1.1 with significant Agent improvements and bug fixes.

Key Features:

  • OllamaClient Integration: Added Ollama tool calling support in Agent functionality
  • Agent.flip_thinking_model(): Implemented flip thinking model capability with comprehensive test coverage
  • FunctionTool & Runner Logic: Enhanced function tool and runner logic for generator processes

Bug Fixes:

  • Fixed timeout issues in response waiting mechanisms
  • Resolved AssistantResponse error when appending to ConversationMemory
  • Improved error handling in Agent workflows

Testing:
Added 4 comprehensive test cases for Agent.flip_thinking_model() method:

  • test_flip_thinking_model_toggles_state: Verifies state toggle functionality
  • test_flip_thinking_model_recreates_planner: Ensures planner is recreated
  • test_flip_thinking_model_preserves_other_attributes: Confirms other attributes unchanged
  • test_flip_thinking_model_with_initial_true: Tests with initial thinking model enabled

Maintenance:

  • Updated documentation
  • Added changelog entries
  • Updated pyproject.toml configuration
  • Rebased to main branch for clean merge

Impact:

  • 21 files changed | 3,717 additions | 4,948 deletions | 11 commits
  • Timespan: Aug 10-16, 2025
  • Branch: li_release → main

Li Yin added 7 commits August 9, 2025 21:30
… test cases to test_agent.py:\n- test_flip_thinking_model_toggles_state: Verifies state toggle functionality\n- test_flip_thinking_model_recreates_planner: Ensures planner is recreated\n- test_flip_thinking_model_preserves_other_attributes: Confirms other attrs unchanged\n- test_flip_thinking_model_with_initial_true: Tests with initial thinking model enabled\n\nAll tests pass and ensure the flip_thinking_model method works correctly.
@review-notebook-app

Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@liyin2015 liyin2015 changed the title improve the function tool and runner's logic to generator process feat: Release v1.1.2 with Agent enhancements, OllamaClient integration, and FunctionTool improvements Aug 16, 2025
Li Yin added 4 commits August 15, 2025 20:10
- Add token consumption tracking to Runner class with methods to get and update token statistics
- Add estimated_token_count property to Generator class to track prompt tokens
- Include step-by-step token tracking in Runner execution loops
- Add debug logging for token usage per step
…on handler, agent core files, prompts, runner, and updated API documentation index
@Sylph-AI
Sylph-AI merged commit 10618a4 into main Aug 16, 2025
4 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.

2 participants