autogen
autogen copied to clipboard
Allow configuration of `model_info` in AutoGen Studio
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:
Related issue number
Closes #6878 and #6933
Checks
- [x] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://github.com/microsoft/autogen/blob/main/CONTRIBUTING.md to build and test documentation locally.
- [x] I've added tests (if relevant) corresponding to the changes introduced in this PR.
- [x] I've made sure all auto checks have passed.
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!
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.
@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!