Skip to content

Conversation

@ahmetgunduz
Copy link
Member

  • Fix issubclass() TypeError in Agent.run_async when expected_output is not a class
    Add isinstance(expected_output, type) check before calling issubclass() to prevent
    TypeError when expected_output is a tuple or other non-class value.
    Fixes test_run_normalizes_expected_output_tuple_to_list_in_execution_params

  • Fix instructions fallback in AgentFactory.create
    When instructions is None, properly fall back to description instead of
    converting None to string 'None'

  • Make temperature and top_p parameters optional in LLM model
    Change default values from 0.001 and 1.0 to None, and only include them
    in parameters dict when they have non-None values

  • Add missing docstrings and move module docstrings to top of files to fix linting errors

- Fix issubclass() TypeError in Agent.run_async when expected_output is not a class
  Add isinstance(expected_output, type) check before calling issubclass() to prevent
  TypeError when expected_output is a tuple or other non-class value.
  Fixes test_run_normalizes_expected_output_tuple_to_list_in_execution_params

- Fix instructions fallback in AgentFactory.create
  When instructions is None, properly fall back to description instead of
  converting None to string 'None'

- Make temperature and top_p parameters optional in LLM model
  Change default values from 0.001 and 1.0 to None, and only include them
  in parameters dict when they have non-None values

- Add missing docstrings and move module docstrings to top of files to fix linting errors
@ahmetgunduz ahmetgunduz merged commit b67134f into development Oct 22, 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.

3 participants