Socket
Book a DemoInstallSign in
Socket

@redhat-cloud-services/ai-client-common

Package Overview
Dependencies
Maintainers
7
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@redhat-cloud-services/ai-client-common - npm Package Compare versions

Comparing version

to
4.0.1

2

package.json
{
"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