@rws-framework/ai-tools 2.1.0 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rws-framework/ai-tools",
3
3
  "private": false,
4
- "version": "2.1.0",
4
+ "version": "2.1.1",
5
5
  "description": "",
6
6
  "main": "src/index.ts",
7
7
  "scripts": {},
@@ -125,7 +125,7 @@ type ChainStreamType = AsyncGenerator<IterableReadableStream<ChainValues>>;
125
125
  interface CompoundInput {
126
126
  type: InputType,
127
127
  text?: string,
128
- role?: string,
128
+ role?: 'user' | 'assistant' | 'system',
129
129
  source?: {
130
130
  type: string,
131
131
  media_type: string,