feat: productionize learning engine and classroom
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
* we encode them all up front here.
|
||||
*/
|
||||
|
||||
import { parseJsonResponse } from '@openmaic/generation';
|
||||
import { parseJsonResponse } from '@openmaic/generation/json-repair';
|
||||
|
||||
const FENCED_JSON_RE = /```json\s*\n([\s\S]*?)\n\s*```/g;
|
||||
const ANY_FENCED_JSON_RE = /```(?:json)?\s*([\s\S]*?)```/g;
|
||||
|
||||
Reference in New Issue
Block a user