autogen icon indicating copy to clipboard operation
autogen copied to clipboard

Parse and correctly set Gemini safety settings

Open drewgillson opened this issue 7 months ago • 5 comments

Why are these changes needed?

The provided example at the top of this file did not work correctly. Safety settings need to be parsed into Vertex AI objects and cannot just be a dictionary of simple objects.

Checks

  • [ X ] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://microsoft.github.io/autogen/docs/Contribute#documentation 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.

drewgillson avatar Jun 26 '24 16:06 drewgillson