Scaffold oxlint plugin with initial rule (#2603)
Co-authored-by: codex <[email protected]>
This commit is contained in:
1 parent
25b02f4ba2
commit
825263b6f9
86 files changed
+1116
-434
No files matched your search
@@ -352,9 +352,8 @@ export const makeOpenCodeTextGeneration = Effect.fn("makeOpenCodeTextGeneration"
|
||||
releaseSharedServer,
|
||||
);
|
||||
|
||||
return yield* Schema.decodeEffect(Schema.fromJsonString(input.outputSchemaJson))(
|
||||
extractJsonObject(rawOutput),
|
||||
).pipe(
|
||||
const decodeOutput = Schema.decodeEffect(Schema.fromJsonString(input.outputSchemaJson));
|
||||
return yield* decodeOutput(extractJsonObject(rawOutput)).pipe(
|
||||
Effect.catchTag("SchemaError", (cause) =>
|
||||
Effect.fail(
|
||||
new TextGenerationError({
|
||||
|
||||
Reference in new issue
Block a user