@altimateai/ui-components 0.0.3-beta.3 → 0.0.3-beta.4

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.
@@ -1,6 +1,6 @@
1
1
  import React__default, { FC } from 'react';
2
- import { j as ChatbotProps, k as ChatbotProviderProps, m as ChatState, A as Artifact, I as InteractionRequest, n as ChatMessage, o as AgentAction, p as ChatResponse } from '../types-2N1LeUat.js';
3
- export { x as AgentStreamResponse, r as AssistantMeta, s as ChatSession, u as ChatbotUrls, F as Feedback, t as FileUploadProps, w as InteractionChoice, v as InteractionType, q as LoadingState } from '../types-2N1LeUat.js';
2
+ import { j as ChatbotProps, k as ChatbotProviderProps, m as ChatState, A as Artifact, I as InteractionRequest, n as ChatMessage, o as AgentAction, p as ChatResponse } from '../types-BLRtsLpC.js';
3
+ export { x as AgentStreamResponse, r as AssistantMeta, s as ChatSession, u as ChatbotUrls, F as Feedback, t as FileUploadProps, w as InteractionChoice, v as InteractionType, q as LoadingState } from '../types-BLRtsLpC.js';
4
4
  import { UnknownAction } from '@reduxjs/toolkit';
5
5
  import * as react_jsx_runtime from 'react/jsx-runtime';
6
6
  import 'zod';
package/dist/index.d.ts CHANGED
@@ -4,8 +4,8 @@ import * as React$1 from 'react';
4
4
  import { ButtonHTMLAttributes, ReactNode, HTMLAttributes, FC, MouseEvent } from 'react';
5
5
  import { B as ButtonProps } from './Button-Dln4BC6y.js';
6
6
  import * as react_jsx_runtime from 'react/jsx-runtime';
7
- import { T as TaskLabels, a as TeamMateContextProps, b as TeamMateState, c as TeamMateConfig, d as TeamMateActionType, e as TeamMateAvailability } from './types-2N1LeUat.js';
8
- export { i as Citation, f as CoachAiConfirmationResponse, C as CoachAiResponse, g as ContentCategory, L as Learning, P as PersonalizationScope, h as TeamMateComponentProps, l as learningSchema } from './types-2N1LeUat.js';
7
+ import { T as TaskLabels, a as TeamMateContextProps, b as TeamMateState, c as TeamMateConfig, d as TeamMateActionType, e as TeamMateAvailability } from './types-BLRtsLpC.js';
8
+ export { i as Citation, f as CoachAiConfirmationResponse, C as CoachAiResponse, g as ContentCategory, L as Learning, P as PersonalizationScope, h as TeamMateComponentProps, l as learningSchema } from './types-BLRtsLpC.js';
9
9
  import * as _reduxjs_toolkit from '@reduxjs/toolkit';
10
10
  import { PayloadAction } from '@reduxjs/toolkit';
11
11
  import * as immer from 'immer';
@@ -31,6 +31,7 @@ interface ChatSession {
31
31
  selectedOptions?: string[];
32
32
  [x: string]: unknown;
33
33
  };
34
+ selectedModel?: string | null;
34
35
  }
35
36
  interface FileUploadProps {
36
37
  allowedFiles: string;
@@ -60,6 +61,7 @@ interface ChatbotProviderProps extends ChatbotProps {
60
61
  feedback?: ReactNode;
61
62
  };
62
63
  isMarkdownResponse?: boolean;
64
+ models?: string[];
63
65
  }
64
66
  type InteractionType = "text" | "select" | "multiSelect" | "confirm";
65
67
  interface InteractionChoice {
@@ -119,6 +121,7 @@ interface ChatState {
119
121
  disableContext?: boolean;
120
122
  requestParams?: RequestInit;
121
123
  isMarkdownResponse?: boolean;
124
+ models?: string[];
122
125
  components?: {
123
126
  feedback?: ReactNode;
124
127
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@altimateai/ui-components",
3
- "version": "0.0.3-beta.3",
3
+ "version": "0.0.3-beta.4",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/AltimateAI/altimate-components.git"
@@ -52,4 +52,4 @@
52
52
  "react": "^17.0.0 || ^18.0.0",
53
53
  "react-dom": "^17.0.0 || ^18.0.0"
54
54
  }
55
- }
55
+ }