"include/composable_kernel/utility/config.hpp.in" did not exist on "2c9b8c2432ffe2eceba32d07ce8b0e467dd4538e"
Commit 15f4153f authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

fix: openai isseu

parent 1371e66e
......@@ -588,7 +588,7 @@
max_tokens: $settings?.options?.num_predict ?? undefined,
docs: docs.length > 0 ? docs : undefined
},
model.source.toLowerCase() === 'litellm'
model?.source?.toLowerCase() === 'litellm'
? `${LITELLM_API_BASE_URL}/v1`
: `${OPENAI_API_BASE_URL}`
);
......
......@@ -602,7 +602,7 @@
max_tokens: $settings?.options?.num_predict ?? undefined,
docs: docs.length > 0 ? docs : undefined
},
model.source.toLowerCase() === 'litellm'
model?.source?.toLowerCase() === 'litellm'
? `${LITELLM_API_BASE_URL}/v1`
: `${OPENAI_API_BASE_URL}`
);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment