Skip to content

Santosh/multimodal object#12

Merged
santoshkumarradha merged 2 commits intomainfrom
santosh/multimodal-object
Nov 17, 2025
Merged

Santosh/multimodal object#12
santoshkumarradha merged 2 commits intomainfrom
santosh/multimodal-object

Conversation

@santoshkumarradha
Copy link
Copy Markdown
Member

Summary

Testing

  • ./scripts/test-all.sh
  • Additional verification (please describe):

Checklist

  • I updated documentation where applicable.
  • I added or updated tests (or none were needed).
  • I updated CHANGELOG.md (or this change does not warrant a changelog entry).

Screenshots (if UI-related)

Related issues

Updates `agent_ai.py` to streamline audio and image generation.

The audio generation method now explicitly passes all keyword arguments to the OpenAI SDK, allowing for direct use of OpenAI-specific parameters like 'instructions' and 'speed' and simplifying parameter handling.

The image generation method is refactored to route calls to provider-specific implementations (`vision.generate_image_openrouter` and `vision.generate_image_litellm`) based on the model prefix. This improves modularity and allows for cleaner handling of different provider APIs.

Additionally, `types.py` is updated to use a new `litellm_adapters` module for filtering None values and applying provider-specific parameter patches, promoting better organization and maintainability of LiteLLM configurations.
Introduces a new --defaults flag to the `af init` command, allowing users to bypass interactive prompts and initialize a new agent project with default settings.

This flag also implicitly sets the `nonInteractive` mode, streamlining the agent initialization process for users who prefer to use the standard configurations.
@santoshkumarradha santoshkumarradha merged commit 2994cab into main Nov 17, 2025
2 of 3 checks passed
@santoshkumarradha santoshkumarradha deleted the santosh/multimodal-object branch November 17, 2025 22:54
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