set up system prmpt
This commit is contained in:
parent
3b8568bc86
commit
396c1b1a03
1 changed files with 1 additions and 1 deletions
|
|
@ -658,7 +658,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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue