ai-openai 1.0.3 → 1.0.5

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/README.md +2 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -20,7 +20,7 @@ Simplifies calling AI models for chat responses, learning advice, and more.
20
20
  3. Then run your project.
21
21
 
22
22
  ## Usage
23
-
23
+ ```js
24
24
  const { chat } = require("ai-openai"); // import from npm package
25
25
  require("dotenv").config();
26
26
 
@@ -32,7 +32,7 @@ require("dotenv").config();
32
32
  console.error(err);
33
33
  }
34
34
  })();
35
-
35
+ ```
36
36
  ## Installation
37
37
 
38
38
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-openai",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "description": "Unofficial helper for OpenAI-like models via HuggingFace",
5
5
  "main": "index.js",
6
6
  "scripts": {