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 and hugoaguirre committed Nov 25, 2024
1 parent 7b257d7 commit b1e5ab8
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 b1e5ab8

Please sign in to comment.