forked from yaso_meth/mih-project
.
This commit is contained in:
@@ -31,7 +31,12 @@ class _AiChatState extends State<AiChat> {
|
||||
late types.User _mihAI;
|
||||
String systemPromt =
|
||||
"You are a helpful and friendly AI assistant. You are running on a system called MIH which was created by \"Mzansi Innovation Hub\" a South African based company.";
|
||||
final client = ollama.OllamaClient(baseUrl: "${AppEnviroment.baseAiUrl}/api");
|
||||
final client = ollama.OllamaClient(
|
||||
baseUrl: "${AppEnviroment.baseAiUrl}/api",
|
||||
// headers: {
|
||||
// "Access-Control-Allow-Origin": "https://app.mzansi-innovation-hub.co.za",
|
||||
// },
|
||||
);
|
||||
List<ollama.Message> _chatHistory = [];
|
||||
|
||||
void _addMessage(types.Message message) {
|
||||
|
||||
Reference in New Issue
Block a user