🐛 fix: Remove resendImages, imageDetail from modelOptions for Custom Endpoints (#1537)
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
const buildOptions = (endpoint, parsedBody, endpointType) => {
|
||||
const { chatGptLabel, promptPrefix, ...rest } = parsedBody;
|
||||
const { chatGptLabel, promptPrefix, resendImages, imageDetail, ...rest } = parsedBody;
|
||||
const endpointOption = {
|
||||
endpoint,
|
||||
endpointType,
|
||||
chatGptLabel,
|
||||
promptPrefix,
|
||||
resendImages,
|
||||
imageDetail,
|
||||
modelOptions: {
|
||||
...rest,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user