@altimateai/ui-components 0.0.4-beta.2 → 0.0.4-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.
@@ -70,7 +70,10 @@ interface ChatbotProviderProps extends ChatbotProps {
70
70
  };
71
71
  contextOptions?: ContextOption[];
72
72
  isMarkdownResponse?: boolean;
73
- models?: string[];
73
+ models?: {
74
+ label: string;
75
+ value: string;
76
+ }[];
74
77
  }
75
78
  type InteractionType = "text" | "select" | "multiSelect" | "confirm";
76
79
  interface InteractionChoice {
@@ -130,7 +133,10 @@ interface ChatState {
130
133
  disableContext?: boolean;
131
134
  requestParams?: RequestInit;
132
135
  isMarkdownResponse?: boolean;
133
- models?: string[];
136
+ models?: {
137
+ label: string;
138
+ value: string;
139
+ }[];
134
140
  components?: {
135
141
  feedback?: ReactNode;
136
142
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@altimateai/ui-components",
3
- "version": "0.0.4-beta.2",
3
+ "version": "0.0.4-beta.4",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/AltimateAI/altimate-components.git"