This commit is contained in:
Enrico Ros
2024-07-12 04:29:31 -07:00
parent 756738b540
commit 0bdd3addc8
2 changed files with 4 additions and 4 deletions
@@ -147,9 +147,9 @@ function _intakeToAnthropicTools(itds: Intake_ToolDefinition[]): NonNullable<Ant
},
};
case 'gemini_code_interpreter':
throw new Error('Gemini code interpreter is not supported by Anthropic');
throw new Error('Gemini code interpreter is not supported');
case 'preprocessor':
throw new Error('Preprocessors are not supported by Anthropic yet');
throw new Error('Preprocessors are not supported yet');
}
});
}
@@ -214,9 +214,9 @@ function _intakeToOpenAITools(itds: Intake_ToolDefinition[]): NonNullable<Openai
},
};
case 'gemini_code_interpreter':
throw new Error('Gemini code interpreter is not supported by OpenAI');
throw new Error('Gemini code interpreter is not supported');
case 'preprocessor':
throw new Error('Preprocessors are not supported by OpenAI yet');
throw new Error('Preprocessors are not supported yet');
}
});
}