visual-ai-assertions 0.7.1 → 0.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -739,12 +739,10 @@ var OpenAIDriver = class {
739
739
  try {
740
740
  const format = options?.responseSchema ? {
741
741
  type: "json_schema",
742
- json_schema: {
743
- name: "visual_ai_response",
744
- strict: true,
745
- schema: options.responseSchema
746
- }
747
- } : { type: "json_object", name: "visual_ai_response" };
742
+ name: "visual_ai_response",
743
+ strict: true,
744
+ schema: options.responseSchema
745
+ } : { type: "json_object" };
748
746
  const requestParams = {
749
747
  model: this.model,
750
748
  max_output_tokens: this.maxTokens,