Updated formatting

This commit is contained in:
Willie Zutz
2025-02-15 16:07:19 -07:00
parent 2bdcbf20fb
commit 18b6f5b674
5 changed files with 35 additions and 16 deletions

View File

@ -6,7 +6,8 @@ export const getSuggestions = async (chatHisory: Message[]) => {
const customOpenAIKey = localStorage.getItem('openAIApiKey');
const customOpenAIBaseURL = localStorage.getItem('openAIBaseURL');
const ollamaContextWindow = localStorage.getItem('ollamaContextWindow') || '2048';
const ollamaContextWindow =
localStorage.getItem('ollamaContextWindow') || '2048';
const res = await fetch(`${process.env.NEXT_PUBLIC_API_URL}/suggestions`, {
method: 'POST',