forked from yaso_meth/mih-project
v6
This commit is contained in:
@@ -33,9 +33,9 @@ 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": "https://app.mzansi-innovation-hub.co.za",
|
||||
// },
|
||||
headers: {
|
||||
"Access-Control-Allow-Origin": "https://app.mzansi-innovation-hub.co.za",
|
||||
},
|
||||
);
|
||||
List<ollama.Message> _chatHistory = [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user