Commit Graph

5 Commits

Author SHA1 Message Date
佐藤優一 69501af220 fix: Add missing toolkit methods to mock_toolkit_fix
- Added get_fundamentals_openai
- Added get_finnhub_company_insider_sentiment
- Added get_finnhub_company_insider_transactions
- Improved docstring for patch_toolkit_in_test

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-11 13:04:54 +09:00
佐藤優一 af8863a024 fix: Improve mock_toolkit_fix for ToolNode compatibility
- Remove Mock wrapper to provide real functions
- Add __module__ and __doc__ attributes for @tool decorator
- Fixes TypeError: Mock is not a module/class/method/function

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-11 12:26:57 +09:00
佐藤優一 67d3974ace Fix ToolNode Mock compatibility: Use real functions
- Create actual functions instead of pure Mock objects
- Functions have proper __name__ and __qualname__ attributes
- Wrapped in Mock for test assertions
- Fixes TypeError: Mock is not a module/class/method/function
2025-08-11 11:01:59 +09:00
佐藤優一 12370845eb Fix Black formatting issues in mock toolkit files 2025-08-11 10:47:55 +09:00
佐藤優一 0ab8c8fc46 Fix CI/CD test failures
- Apply Black formatting to all test files
- Fix Mock objects to include tool_calls attribute for len() checks
- Add proper __name__ attributes to mock toolkit methods for @tool decorator
- Create mock_toolkit_fix helper for consistent toolkit mocking

All tests should now pass with proper mocking setup.
2025-08-11 10:42:13 +09:00