-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Allow configuration of model_info
in AutoGen Studio
#6896
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
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
Codecov Report✅ All modified and coverable lines are covered by tests. 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
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
@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! |
There was a problem hiding this 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.
...o/frontend/src/components/views/teambuilder/builder/component-editor/fields/model-fields.tsx
Outdated
Show resolved
Hide resolved
…eambuilder/builder/component-editor/fields/model-fields.tsx Co-authored-by: Copilot <[email protected]>
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 themodel_info
data structure for the model. A newFieldName[]
was added,modelInfo
, serving a similar scope as the already definedmodelConfig
andmodelParams
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:

Related issue number
Closes #6878 and #6933
Checks