@llmnative/react 1.10.2 → 1.10.3
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/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +209 -209
- package/dist/index.mjs.map +1 -1
- package/dist/types/src/components/widgets/Chatbot.d.ts +8 -1
- package/package.json +1 -1
|
@@ -56,6 +56,13 @@ export interface ChatbotProps {
|
|
|
56
56
|
models?: ChatbotModelOption[];
|
|
57
57
|
selectedModel?: string;
|
|
58
58
|
onModelChange?: (id: string) => void;
|
|
59
|
+
/** Testo del trigger del selettore modello quando `selectedModel` è vuoto — default
|
|
60
|
+
* `dict.defaultOption` ("Default"), la stessa stringa generica riusata dagli altri
|
|
61
|
+
* selettori (ruolo/lingua/voce/stile). Un consumer che non fornisce mai un default
|
|
62
|
+
* automatico per il modello (nessun `defaultModel` implicito, l'utente DEVE scegliere)
|
|
63
|
+
* può passare qui un testo più esplicito, es. "Scegli un modello…", senza dover
|
|
64
|
+
* cambiare `dict.defaultOption` per tutti gli altri selettori. */
|
|
65
|
+
modelPlaceholder?: string;
|
|
59
66
|
/** Dropdown ruolo/lingua/voce/stile/temperatura — stato interno non controllato
|
|
60
67
|
* (seedato da default*), incluso nel payload di ogni submit. Default `false`: un
|
|
61
68
|
* consumer di chat libera (Agentico) non ne ha bisogno. */
|
|
@@ -71,5 +78,5 @@ export interface ChatbotProps {
|
|
|
71
78
|
wrapperClassName?: string;
|
|
72
79
|
className?: string;
|
|
73
80
|
}
|
|
74
|
-
export declare function Chatbot({ name, value, onChange, placeholder, running, onStop, disabled, onSubmit, attachments, commands, commandsTrigger, models, selectedModel, onModelChange, showSettings, defaultRole, defaultVoice, defaultStyle, defaultLanguage, defaultTemperature, actions, minHeight, maxHeight, wrapperClassName, className, }: ChatbotProps): React.JSX.Element;
|
|
81
|
+
export declare function Chatbot({ name, value, onChange, placeholder, running, onStop, disabled, onSubmit, attachments, commands, commandsTrigger, models, selectedModel, onModelChange, modelPlaceholder, showSettings, defaultRole, defaultVoice, defaultStyle, defaultLanguage, defaultTemperature, actions, minHeight, maxHeight, wrapperClassName, className, }: ChatbotProps): React.JSX.Element;
|
|
75
82
|
export default Chatbot;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@llmnative/react",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.3",
|
|
4
4
|
"description": "LLM-native React framework for deterministic UI generation. Data-driven by default, schema-driven optional. Ultra-low token consumption — built for AI agents, not just humans.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|