@deepagents/text2sql 0.13.0 → 0.13.1

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.js CHANGED
@@ -3789,6 +3789,7 @@ var Text2Sql = class {
3789
3789
  context: config.context,
3790
3790
  tools: config.tools ?? {},
3791
3791
  model: config.model,
3792
+ transform: config.transform,
3792
3793
  introspection: new JsonCache(
3793
3794
  "introspection-" + config.version
3794
3795
  )
@@ -3890,7 +3891,10 @@ var Text2Sql = class {
3890
3891
  guardrails: [errorRecoveryGuardrail],
3891
3892
  maxGuardrailRetries: 3
3892
3893
  });
3893
- const result = await chatAgent.stream({});
3894
+ const result = await chatAgent.stream(
3895
+ {},
3896
+ { transform: this.#config.transform }
3897
+ );
3894
3898
  return result.toUIMessageStream({
3895
3899
  onError: (error) => this.#formatError(error),
3896
3900
  sendStart: true,