Commit Graph

2 Commits

Author SHA1 Message Date
suyao
8910281b09 feat: update AI Core client types and provider registry
- Refactored `ApiClientFactory` and `UniversalAiSdkClient` to use the new `ProviderOptions` type for improved type safety.
- Removed deprecated `AiCoreRequest` interface to streamline request handling.
- Updated the provider registry to include the OpenRouter provider while removing unused providers, enhancing clarity and maintainability.
- Added new dependencies and updated the pnpm-lock.yaml to reflect changes in provider versions.
2025-06-17 20:05:31 +08:00
suyao
b771873f6c feat: define types for AI core requests and provider options
feat: define types for AI core requests and provider options

- Introduced `ProviderOptions` type to standardize provider configuration.
- Added `AiCoreRequest` interface to encapsulate request parameters for AI operations.
- Updated `UniversalAiSdkClient` to utilize the new types, enhancing type safety and clarity in API interactions.

feat: update AI provider registry and dependencies

- Added new AI providers: OpenAI Compatible, Qwen, Ollama, and Anthropic Vertex to the provider registry.
- Updated package.json to include new dependencies for the added providers.
- Enhanced pnpm-lock.yaml with corresponding versions and peer dependencies for the new packages.
2025-06-17 19:49:22 +08:00