@faapi/faapi 4.2.1 → 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.
- package/dist/index.d.ts +2 -1
- 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
|
-
*
|
|
346
|
+
* 可选——未设置时插件仍注册 agent handle 工厂(外部 provider 模式),
|
|
347
|
+
* `agent.run/stream` 需通过 `options.provider` 传入外部 provider 才能调用 LLM。
|
|
347
348
|
*/
|
|
348
349
|
llms?: Record<string, LlmConfig>;
|
|
349
350
|
/**
|