@botonic/plugin-ai-agents 0.51.4 → 0.52.0-alpha.0

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 +12 -12
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -3,10 +3,10 @@
3
3
  ## env variables
4
4
 
5
5
  - It is necessary to add the following variables to an `.env` file:
6
- - `AZURE_OPENAI_API_KEY`
7
- - `AZURE_OPENAI_API_BASE`
8
- - `AZURE_OPENAI_API_DEPLOYMENT_NAME`
9
- - `AZURE_OPENAI_API_VERSION`
6
+ - `LLM_PROVIDER`
7
+ - `LLM_API_KEY`
8
+ - `LLM_API_URL`
9
+ - `LLM_AZURE_API_VERSION`
10
10
  - Add these env variables to build using rspack, for target NODE and DEV.
11
11
 
12
12
  ```ts
@@ -22,17 +22,17 @@ config()
22
22
  WEBCHAT_PUSHER_KEY:
23
23
  process.env.WEBCHAT_PUSHER_KEY || HUBTYPE_DEFAULTS.WEBCHAT_PUSHER_KEY,
24
24
  ENVIRONMENT: process.env.ENVIRONMENT,
25
- AZURE_OPENAI_API_KEY: isNodeOrDev
26
- ? process.env.AZURE_OPENAI_API_KEY
25
+ LLM_PROVIDER: isNodeOrDev
26
+ ? process.env.LLM_PROVIDER
27
27
  : undefined,
28
- AZURE_OPENAI_API_DEPLOYMENT_NAME: isNodeOrDev
29
- ? process.env.AZURE_OPENAI_API_DEPLOYMENT_NAME
28
+ LLM_API_KEY: isNodeOrDev
29
+ ? process.env.LLM_API_KEY
30
30
  : undefined,
31
- AZURE_OPENAI_API_VERSION: isNodeOrDev
32
- ? process.env.AZURE_OPENAI_API_VERSION
31
+ LLM_API_URL: isNodeOrDev
32
+ ? process.env.LLM_API_URL
33
33
  : undefined,
34
- AZURE_OPENAI_API_BASE: isNodeOrDev
35
- ? process.env.AZURE_OPENAI_API_BASE
34
+ LLM_AZURE_API_VERSION: isNodeOrDev
35
+ ? process.env.LLM_AZURE_API_VERSION
36
36
  : undefined,
37
37
  }),
38
38
  new rspack.ProgressPlugin(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botonic/plugin-ai-agents",
3
- "version": "0.51.4",
3
+ "version": "0.52.0-alpha.0",
4
4
  "main": "./lib/cjs/index.js",
5
5
  "module": "./lib/esm/index.js",
6
6
  "description": "Use AI Agents to generate your contents",
@@ -14,12 +14,12 @@
14
14
  "format": "biome format --write src/ tests/"
15
15
  },
16
16
  "dependencies": {
17
- "@botonic/core": "^0.51.2",
17
+ "@botonic/core": "^0.52.0-alpha.0",
18
18
  "@openai/agents": "^0.10.1",
19
19
  "axios": "^1.15.2",
20
20
  "openai": "^6.36.0",
21
21
  "uuid": "^10.0.0",
22
- "zod": "^4.3.6"
22
+ "zod": "^4.4.3"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/uuid": "^10.0.0"