v7
This commit is contained in:
parent
74dd1c8fb0
commit
d9c1cdab8a
2 changed files with 16 additions and 14 deletions
|
|
@ -34,7 +34,9 @@ class _AiChatState extends State<AiChat> {
|
|||
final client = ollama.OllamaClient(
|
||||
baseUrl: "${AppEnviroment.baseAiUrl}/api",
|
||||
headers: {
|
||||
"Access-Control-Allow-Origin": "https://app.mzansi-innovation-hub.co.za",
|
||||
"Access-Control-Allow-Origin": "*",
|
||||
"Access-Control-Allow-Methods": "POST, GET, OPTIONS",
|
||||
"Access-Control-Allow-Headers": "Content-Type, Authorization",
|
||||
},
|
||||
);
|
||||
List<ollama.Message> _chatHistory = [];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue