Skip to content

Conversation

federicovilla55
Copy link
Contributor

@federicovilla55 federicovilla55 commented Aug 5, 2025

Why are these changes needed?

The changes introduce the "Model Information" section in the Edit Component modal for model entries in AutoGen Studio models gallery.
The modified file let the user specify and edit LLM's vision support, function calling, output formats, and model family. The implementation includes a dedicated ModelInfoEditor component to correctly define and update the model_info data structure for the model. A new FieldName[] was added, modelInfo, serving a similar scope as the already defined modelConfig and modelParams for the other model provider's field.

Added a new template for external models with OpenAI-compatible ChatCompletion endpoints in 263a72e.

Here’s a quick look at the new Model Information section:
image

Related issue number

Closes #6878 and #6933

Checks

@tejas-dharani
Copy link
Contributor

Hi @federicovilla55 ,

To fix the failing CI checks, please pull the latest changes from the main branch, run poe check, and then commit again. That should allow the checks to pass successfully.

Thanks!

…riggered when the general Model Information div is clicked and added string value for Model Family
Copy link

codecov bot commented Aug 6, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.99%. Comparing base (3107855) to head (49d40ed).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6896   +/-   ##
=======================================
  Coverage   80.99%   80.99%           
=======================================
  Files         237      237           
  Lines       18198    18198           
=======================================
  Hits        14739    14739           
  Misses       3459     3459           
Flag Coverage Δ
unittests 80.99% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@federicovilla55 federicovilla55 marked this pull request as ready for review August 6, 2025 20:15
@federicovilla55
Copy link
Contributor Author

@victordibia may you please take a look at the changes I've made in the Edit Component menu when adding a new model in AutoGen Studio's gallery. Thanks!

@victordibia victordibia requested a review from Copilot September 10, 2025 16:11
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces model information configuration capabilities in AutoGen Studio, allowing users to specify LLM characteristics such as vision support, function calling, output formats, and model family in the Edit Component modal.

Key changes:

  • Added a new ModelInfoEditor component for configuring model capabilities and metadata
  • Extended the field specification system to include model_info configuration
  • Added a new external model template with OpenAI-compatible endpoint support

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
model-fields.tsx Implements the ModelInfoEditor component and integrates model_info configuration into the field system
component-templates.ts Adds a new template for external models with predefined model_info structure

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

…eambuilder/builder/component-editor/fields/model-fields.tsx

Co-authored-by: Copilot <[email protected]>
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.

Cannot config the model_info on autogen studio,can not use other models.
3 participants