@redhat-cloud-services/ai-client-common
Advanced tools
Comparing version
{ | ||
"name": "@redhat-cloud-services/ai-client-common", | ||
"version": "0.4.0", | ||
"version": "4.0.1", | ||
"type": "commonjs", | ||
@@ -5,0 +5,0 @@ "main": "./src/index.js", |
# @redhat-cloud-services/ai-client-common | ||
Common interfaces and utilities for AI client packages in the Red Hat Cloud Services ecosystem. | ||
## Features | ||
- **Standardized AI Client Interface** - Common `IAIClient` interface for all AI services | ||
- **Conversation Management** - Standard conversation interface with locking support | ||
- **Dependency Injection** - Interfaces for custom fetch implementations and streaming handlers | ||
@@ -194,2 +195,3 @@ - **TypeScript Support** - Comprehensive type definitions for AI client development | ||
title: string; | ||
locked: boolean; // Prevents new messages when true | ||
} | ||
@@ -196,0 +198,0 @@ ``` |
@@ -220,2 +220,3 @@ /** | ||
title: string; | ||
locked: boolean; | ||
} | ||
@@ -222,0 +223,0 @@ export interface IErrorMessageResponse { |
Sorry, the diff of this file is not supported yet
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
21668
0.87%277
0.36%1
-50%222
0.91%1
Infinity%