This commit is contained in:
2025-01-25 12:41:26 +02:00
parent baf9b9c53d
commit b3acc79e0d

View File

@@ -33,11 +33,6 @@ class _AiChatState extends State<AiChat> {
"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",
headers: {
"Access-Control-Allow-Origin": "*",
"Access-Control-Allow-Methods": "POST, GET, OPTIONS",
"Access-Control-Allow-Headers": "Content-Type, Authorization",
},
);
List<ollama.Message> _chatHistory = [];