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.js CHANGED
@@ -672,12 +672,10 @@ var OpenAIDriver = class {
672
672
  try {
673
673
  const format = options?.responseSchema ? {
674
674
  type: "json_schema",
675
- json_schema: {
676
- name: "visual_ai_response",
677
- strict: true,
678
- schema: options.responseSchema
679
- }
680
- } : { type: "json_object", name: "visual_ai_response" };
675
+ name: "visual_ai_response",
676
+ strict: true,
677
+ schema: options.responseSchema
678
+ } : { type: "json_object" };
681
679
  const requestParams = {
682
680
  model: this.model,
683
681
  max_output_tokens: this.maxTokens,