@faapi/faapi 4.3.0 → 4.4.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/dist/index.d.ts +2 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -343,7 +343,8 @@ interface AgentConfig {
343
343
  * `createProvider` 创建实例存 Map,handler 通过 `agent.run(input, { model })`
344
344
  * 切换 provider + model(详见 [agentHandle](../../agent/src/agentHandle.md))。
345
345
  *
346
- * 未设置时 Phase 3.x 插件无法调用 LLM,agent 的 `run` 函数仍可手动实现。
346
+ * 可选——未设置时插件仍注册 agent handle 工厂(外部 provider 模式),
347
+ * `agent.run/stream` 需通过 `options.provider` 传入外部 provider 才能调用 LLM。
347
348
  */
348
349
  llms?: Record<string, LlmConfig>;
349
350
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faapi/faapi",
3
- "version": "4.3.0",
3
+ "version": "4.4.0",
4
4
  "description": "函数即接口 - Function as API",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",