update Mzansi AI Thoughts window
This commit is contained in:
@@ -236,23 +236,20 @@ class _AiChatState extends State<AiChat> {
|
|||||||
Navigator.of(context).pop();
|
Navigator.of(context).pop();
|
||||||
},
|
},
|
||||||
windowBody: Column(
|
windowBody: Column(
|
||||||
|
mainAxisSize: MainAxisSize.max,
|
||||||
children: [
|
children: [
|
||||||
Stack(
|
Stack(
|
||||||
children: [
|
children: [
|
||||||
Column(
|
Text(
|
||||||
children: [
|
snapshot.requireData,
|
||||||
Text(
|
textAlign: TextAlign.left,
|
||||||
snapshot.requireData,
|
style: TextStyle(
|
||||||
textAlign: TextAlign.left,
|
color: MzanziInnovationHub.of(context)!
|
||||||
style: TextStyle(
|
.theme
|
||||||
color: MzanziInnovationHub.of(context)!
|
.secondaryColor(),
|
||||||
.theme
|
fontSize: _chatFrontSize,
|
||||||
.secondaryColor(),
|
fontWeight: FontWeight.bold,
|
||||||
fontSize: _chatFrontSize,
|
),
|
||||||
fontWeight: FontWeight.bold,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
],
|
|
||||||
),
|
),
|
||||||
Positioned(
|
Positioned(
|
||||||
bottom: 0,
|
bottom: 0,
|
||||||
@@ -657,7 +654,7 @@ class _AiChatState extends State<AiChat> {
|
|||||||
);
|
);
|
||||||
_modelController.text = 'gemma3:4b';
|
_modelController.text = 'gemma3:4b';
|
||||||
_fontSizeController.text = _chatFrontSize.ceil().toString();
|
_fontSizeController.text = _chatFrontSize.ceil().toString();
|
||||||
systemPromt = setSystemPromt();
|
|
||||||
_chatHistory.add(
|
_chatHistory.add(
|
||||||
ollama.Message(
|
ollama.Message(
|
||||||
role: ollama.MessageRole.system,
|
role: ollama.MessageRole.system,
|
||||||
|
|||||||
Reference in New Issue
Block a user