prashantmatlani commited on
Commit
58c1ce7
·
1 Parent(s): c505932

updated core logic local

Browse files
Files changed (1) hide show
  1. core_logic_local.py +1 -1
core_logic_local.py CHANGED
@@ -34,7 +34,7 @@ When we set base_url='http://localhost:11434/v1', the OpenAI library automatical
34
  The library will try to send the data to http://localhost:11434/chat/completions, but because that URL is missing the "/v1" prefix, Ollama’s "OpenAI Compatibility" layer won't recognize the request, and either a "404 Not Found" or a "405 Method Not Allowed" may be encountered.
35
 
36
  Summary Checklist:
37
- In Chrome: Use 127.0.0.1:11434 - to see if it's on.
38
  In Python Code: Use 127.0.0.1:11434/v1 - to actually send prompts.
39
 
40
  """
 
34
  The library will try to send the data to http://localhost:11434/chat/completions, but because that URL is missing the "/v1" prefix, Ollama’s "OpenAI Compatibility" layer won't recognize the request, and either a "404 Not Found" or a "405 Method Not Allowed" may be encountered.
35
 
36
  Summary Checklist:
37
+ In Chrome: Use 127.0.0.1:11434 - to see if Ollama's up and running.
38
  In Python Code: Use 127.0.0.1:11434/v1 - to actually send prompts.
39
 
40
  """