Commit Graph

3 Commits

Author SHA1 Message Date
suyao
3f671ba6be
initial migrate 2025-11-24 08:55:12 +08:00
suyao
78e593fac4
feat: Add comprehensive type test
- Introduced unified export for all catalog schemas and types in `index.ts`.
- Defined model configuration schemas in `model.ts`, including modalities, capabilities, reasoning, parameter support, and pricing.
- Created provider model override schemas in `override.ts` to manage provider-specific configurations.
- Established provider configuration schemas in `provider.ts`, detailing endpoint types, authentication methods, pricing models, and behavior characteristics.
- Implemented utility functions for JSON value validation and parsing in `json-value` and `parse-json` modules.
- Developed a schema validation utility in `SchemaValidator.ts` to validate model, provider, and override configurations with detailed error handling and warnings.
2025-11-24 07:36:33 +08:00
suyao
bceeef5190
Initial Prompt 2025-11-24 01:40:20 +08:00