Only allow inlining if OAI is the selected API
This commit is contained in:
parent
2c4f53e7b5
commit
879502c1e7
|
@ -3292,6 +3292,10 @@ function updateScaleForm() {
|
|||
* @returns {boolean} True if the model supports image inlining
|
||||
*/
|
||||
export function isImageInliningSupported() {
|
||||
if (main_api !== 'openai') {
|
||||
return false;
|
||||
}
|
||||
|
||||
const modelId = 'gpt-4-vision';
|
||||
|
||||
if (!oai_settings.image_inlining) {
|
||||
|
|
Loading…
Reference in New Issue