Skip to content

Commit

Permalink
remove hardcoded SFC
Browse files Browse the repository at this point in the history
  • Loading branch information
pgayvallet committed Sep 18, 2024
1 parent 2753092 commit 6a98e9d
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ import {
export const openAIAdapter: InferenceConnectorAdapter = {
chatComplete: ({ executor, system, messages, toolChoice, tools, functionCalling, logger }) => {
const stream = true;
// TODO: remove before merge
const simulatedFunctionCalling = true; // functionCalling === 'simulated';
const simulatedFunctionCalling = functionCalling === 'simulated';

let request: Omit<OpenAI.ChatCompletionCreateParams, 'model'> & { model?: string };
if (simulatedFunctionCalling) {
Expand Down

0 comments on commit 6a98e9d

Please sign in to comment.