@t2000/engine 1.0.0 → 1.0.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
@@ -3614,7 +3614,7 @@ var webSearchTool = buildTool({
3614
3614
  isReadOnly: true,
3615
3615
  maxResultSizeChars: 8e3,
3616
3616
  async call(input, context) {
3617
- const apiKey = context.env?.BRAVE_API_KEY ?? process.env.BRAVE_API_KEY;
3617
+ const apiKey = context.env?.BRAVE_API_KEY;
3618
3618
  if (!apiKey) {
3619
3619
  return {
3620
3620
  data: { results: [], error: "Web search not configured" },