add pattern support in json string #1235
Annotations
2 errors and 2 warnings
genaiscript pr-review-commit:
packages/core/src/schema.ts#L129
Missing `break` statement after `case "string"` in switch case. This will cause the code to fall through to the next case.
|
genaiscript pr-review-commit:
packages/core/src/types/prompt_template.d.ts#L1037
Missing type annotation for `pattern` property in `JSONSchemaString` interface. TypeScript requires explicit type annotations for all properties.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
genaiscript pr-review-commit:
packages/core/src/schema.ts#L126
Unnecessary `break` statement after `case "string"` since it's the last case in the switch block.
|
Loading