autogen icon indicating copy to clipboard operation
autogen copied to clipboard

Allow configuration of `model_info` in AutoGen Studio

Open federicovilla55 opened this issue 4 months ago • 3 comments

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 263a72e1fe26707058a7de529253204d5a1b984e.

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

Related issue number

Closes #6878 and #6933

Checks

federicovilla55 avatar Aug 05 '25 17:08 federicovilla55

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!

tejas-dharani avatar Aug 06 '25 06:08 tejas-dharani

Codecov Report

:white_check_mark: All modified and coverable lines are covered by tests. :white_check_mark: 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.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

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

codecov[bot] avatar Aug 06 '25 17:08 codecov[bot]

@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!

federicovilla55 avatar Aug 14 '25 21:08 federicovilla55