utilitas 1995.2.70 → 1995.2.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/utilitas.lite.mjs +1 -1
- package/dist/utilitas.lite.mjs.map +1 -1
- package/lib/alan.mjs +2 -0
- package/lib/manifest.mjs +1 -1
- package/package.json +1 -1
package/lib/alan.mjs
CHANGED
|
@@ -363,6 +363,8 @@ const promptChatGPT = async (content, options) => {
|
|
|
363
363
|
};
|
|
364
364
|
|
|
365
365
|
const promptOllama = async (content, options) => {
|
|
366
|
+
// @todo: Is it cool to use Ollama official API instead this implementation:
|
|
367
|
+
// https://github.com/ollama/ollama-js
|
|
366
368
|
const { endpoint } = await getOllamaClient(options);
|
|
367
369
|
// https://github.com/jmorganca/ollama/blob/main/examples/typescript-simplechat/client.ts
|
|
368
370
|
const resp = await fetch(`${endpoint}/api/chat`, {
|
package/lib/manifest.mjs
CHANGED