Skip to content

Commit

Permalink
fix: make json formatter set format to json (#1329)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelgj authored Nov 18, 2024
1 parent 1ace8bc commit f3b7462
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/ai/src/formats/json.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import type { Formatter } from './types';
export const jsonFormatter: Formatter<unknown, unknown> = {
name: 'json',
config: {
format: 'json',
contentType: 'application/json',
constrained: true,
},
Expand Down

0 comments on commit f3b7462

Please sign in to comment.