mirror of
https://github.com/simstudioai/sim.git
synced 2026-09-24 15:45:35 +08:00
fix(providers): remove flag to skip proxy for external API calls
This commit is contained in:
@@ -174,7 +174,7 @@ ${request.responseFormat.fields.map((field) => `${field.name} (${field.type})${f
|
||||
|
||||
// Execute the tool
|
||||
const mergedArgs = { ...tool.params, ...toolArgs }
|
||||
const result = await executeTool(toolName, mergedArgs, true)
|
||||
const result = await executeTool(toolName, mergedArgs)
|
||||
|
||||
if (!result.success) continue
|
||||
|
||||
|
||||
@@ -140,7 +140,7 @@ export const cerebrasProvider: ProviderConfig = {
|
||||
|
||||
// Execute the tool
|
||||
const mergedArgs = { ...tool.params, ...toolArgs }
|
||||
const result = await executeTool(toolName, mergedArgs, true)
|
||||
const result = await executeTool(toolName, mergedArgs)
|
||||
|
||||
if (!result.success) continue
|
||||
|
||||
|
||||
@@ -116,7 +116,7 @@ export const deepseekProvider: ProviderConfig = {
|
||||
|
||||
// Execute the tool
|
||||
const mergedArgs = { ...tool.params, ...toolArgs }
|
||||
const result = await executeTool(toolName, mergedArgs, true)
|
||||
const result = await executeTool(toolName, mergedArgs)
|
||||
|
||||
if (!result.success) continue
|
||||
|
||||
|
||||
@@ -112,7 +112,7 @@ export const googleProvider: ProviderConfig = {
|
||||
|
||||
// Execute the tool
|
||||
const mergedArgs = { ...tool.params, ...toolArgs }
|
||||
const result = await executeTool(toolName, mergedArgs, true)
|
||||
const result = await executeTool(toolName, mergedArgs)
|
||||
|
||||
if (!result.success) continue
|
||||
|
||||
|
||||
@@ -111,7 +111,7 @@ export const openaiProvider: ProviderConfig = {
|
||||
|
||||
// Execute the tool
|
||||
const mergedArgs = { ...tool.params, ...toolArgs }
|
||||
const result = await executeTool(toolName, mergedArgs, true)
|
||||
const result = await executeTool(toolName, mergedArgs)
|
||||
|
||||
if (!result.success) continue
|
||||
|
||||
|
||||
@@ -143,7 +143,7 @@ export const xAIProvider: ProviderConfig = {
|
||||
if (!tool) continue
|
||||
|
||||
const mergedArgs = { ...tool.params, ...toolArgs }
|
||||
const result = await executeTool(toolName, mergedArgs, true)
|
||||
const result = await executeTool(toolName, mergedArgs)
|
||||
|
||||
if (!result.success) continue
|
||||
|
||||
|
||||
Reference in New Issue
Block a user