call-ai 0.7.1 → 0.7.2

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.
Files changed (2) hide show
  1. package/dist/api.js +0 -1
  2. package/package.json +1 -1
package/dist/api.js CHANGED
@@ -32,7 +32,6 @@ function callAI(prompt, options = {}) {
32
32
  const streamPromise = (async () => {
33
33
  // Do setup and validation before returning the generator
34
34
  const { endpoint, requestOptions, model, schemaStrategy } = prepareRequestParams(prompt, { ...options, stream: true });
35
- // Make the fetch request and handle errors before creating the generator
36
35
  if (options.debug) {
37
36
  console.log(`[callAI:${PACKAGE_VERSION}] Making fetch request to: ${endpoint}`);
38
37
  console.log(`[callAI:${PACKAGE_VERSION}] With model: ${model}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "call-ai",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "description": "Lightweight library for making AI API calls with streaming support",
5
5
  "main": "dist/index.js",
6
6
  "browser": "dist/index.js",