@@ -101,7 +101,7 @@ Generate a completion from a model as JSON.
101101 -v Show version information and exit.
102102
103103This function sends a prompt to a specified model and returns the model's response as a raw JSON object.
104- If streaming is enabled via the global 'OLLAMA_LIB_STREAM ' variable, it will return a stream of JSON objects.
104+ If streaming is enabled via the global 'OBL_STREAM ' variable, it will return a stream of JSON objects.
105105This is a foundational function for 'ollama_generate' and 'ollama_generate_stream', which process this JSON output into plain text.
106106```
107107
@@ -117,7 +117,7 @@ Generate a completion from a model as JSON.
117117 -v Show version information and exit.
118118
119119This function sends a prompt to a specified model and returns the model's response as a raw JSON object.
120- If streaming is enabled via the global 'OLLAMA_LIB_STREAM ' variable, it will return a stream of JSON objects.
120+ If streaming is enabled via the global 'OBL_STREAM ' variable, it will return a stream of JSON objects.
121121This is a foundational function for 'ollama_generate' and 'ollama_generate_stream', which process this JSON output into plain text.
122122```
123123
@@ -162,7 +162,7 @@ Generate a completion from a model as a stream of JSON objects.
162162 -h Show this help and exit.
163163 -v Show version information and exit.
164164
165- This function sets the global 'OLLAMA_LIB_STREAM ' variable to 1 and then calls 'ollama_generate_json'.
165+ This function sets the global 'OBL_STREAM ' variable to 1 and then calls 'ollama_generate_json'.
166166It is the basis for 'ollama_generate_stream', which further processes the output into a continuous stream of text.
167167```
168168
@@ -177,7 +177,7 @@ Generate a completion from a model as a stream of JSON objects.
177177 -h Show this help and exit.
178178 -v Show version information and exit.
179179
180- This function sets the global 'OLLAMA_LIB_STREAM ' variable to 1 and then calls 'ollama_generate_json'.
180+ This function sets the global 'OBL_STREAM ' variable to 1 and then calls 'ollama_generate_json'.
181181It is the basis for 'ollama_generate_stream', which further processes the output into a continuous stream of text.
182182```
183183
@@ -248,7 +248,7 @@ Add a message to the current session's message history.
248248 -h Show this help and exit.
249249 -v Show version information and exit.
250250
251- This function appends a new message object to the \'OLLAMA_LIB_MESSAGES \' array.
251+ This function appends a new message object to the \'OBL_MESSAGES \' array.
252252This history is then used by \'ollama_chat\' and related functions to maintain a conversation with the model.
253253```
254254
@@ -263,7 +263,7 @@ Add a message to the current session's message history.
263263 -h Show this help and exit.
264264 -v Show version information and exit.
265265
266- This function appends a new message object to the \'OLLAMA_LIB_MESSAGES \' array.
266+ This function appends a new message object to the \'OBL_MESSAGES \' array.
267267This history is then used by \'ollama_chat\' and related functions to maintain a conversation with the model.
268268```
269269
@@ -276,7 +276,7 @@ Clear all messages from the current session.
276276 -h Show this help and exit.
277277 -v Show version information and exit.
278278
279- This function resets the \'OLLAMA_LIB_MESSAGES \' array, effectively deleting the entire conversation history for the current session.
279+ This function resets the \'OBL_MESSAGES \' array, effectively deleting the entire conversation history for the current session.
280280This is useful for starting a new conversation without restarting the script.
281281```
282282
@@ -289,7 +289,7 @@ Clear all messages from the current session.
289289 -h Show this help and exit.
290290 -v Show version information and exit.
291291
292- This function resets the \'OLLAMA_LIB_MESSAGES \' array, effectively deleting the entire conversation history for the current session.
292+ This function resets the \'OBL_MESSAGES \' array, effectively deleting the entire conversation history for the current session.
293293This is useful for starting a new conversation without restarting the script.
294294```
295295
@@ -302,7 +302,7 @@ Get the number of messages in the current session.
302302 -h Show this help and exit.
303303 -v Show version information and exit.
304304
305- This function returns the current number of messages stored in the 'OLLAMA_LIB_MESSAGES ' array.
305+ This function returns the current number of messages stored in the 'OBL_MESSAGES ' array.
306306It can be used to check if a conversation has started or to monitor the length of the conversation history.
307307```
308308
@@ -315,7 +315,7 @@ Get the number of messages in the current session.
315315 -h Show this help and exit.
316316 -v Show version information and exit.
317317
318- This function returns the current number of messages stored in the 'OLLAMA_LIB_MESSAGES ' array.
318+ This function returns the current number of messages stored in the 'OBL_MESSAGES ' array.
319319It can be used to check if a conversation has started or to monitor the length of the conversation history.
320320```
321321
@@ -895,7 +895,7 @@ Configure the 'thinking' mode for model responses.
895895 -h Show this help and exit.
896896 -v Show version information and exit.
897897
898- This function sets the \'OLLAMA_LIB_THINKING \' environment variable, which controls whether the model\'s \'thinking\' process is displayed.
898+ This function sets the \'OBL_THINKING \' environment variable, which controls whether the model\'s \'thinking\' process is displayed.
899899Modes:
900900- on: Show thinking output.
901901- off: Hide thinking output.
@@ -912,7 +912,7 @@ Configure the 'thinking' mode for model responses.
912912 -h Show this help and exit.
913913 -v Show version information and exit.
914914
915- This function sets the \'OLLAMA_LIB_THINKING \' environment variable, which controls whether the model\'s \'thinking\' process is displayed.
915+ This function sets the \'OBL_THINKING \' environment variable, which controls whether the model\'s \'thinking\' process is displayed.
916916Modes:
917917- on: Show thinking output.
918918- off: Hide thinking output.
@@ -954,7 +954,7 @@ Get the version of the Ollama Bash Lib.
954954 -h Show this help and exit.
955955 -v Show version information and exit.
956956
957- This function returns the current version number of the library as defined in the 'OLLAMA_LIB_VERSION ' variable.
957+ This function returns the current version number of the library as defined in the 'OBL_VERSION ' variable.
958958It is useful for checking the library version for compatibility or debugging purposes.
959959```
960960
@@ -967,6 +967,6 @@ Get the version of the Ollama Bash Lib.
967967 -h Show this help and exit.
968968 -v Show version information and exit.
969969
970- This function returns the current version number of the library as defined in the 'OLLAMA_LIB_VERSION ' variable.
970+ This function returns the current version number of the library as defined in the 'OBL_VERSION ' variable.
971971It is useful for checking the library version for compatibility or debugging purposes.
972972```
0 commit comments