mirror of
https://github.com/EthanMarti/infio-copilot.git
synced 2026-01-16 16:31:56 +00:00
update release
This commit is contained in:
parent
9a848489e3
commit
b66d3ab21f
@ -83,7 +83,7 @@ export class OpenAICompatibleProvider implements BaseLLMProvider {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
const extraParams = this.getExtraParams(false) // 非流式调用
|
const extraParams = this.getExtraParams(false, model.modelId) // 非流式调用
|
||||||
return this.adapter.generateResponse(this.client as OpenAI, request, options, extraParams)
|
return this.adapter.generateResponse(this.client as OpenAI, request, options, extraParams)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -355,6 +355,7 @@ export const ComboBoxComponent: React.FC<ComboBoxComponentProps> = ({
|
|||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
// 延迟聚焦到搜索输入框
|
// 延迟聚焦到搜索输入框
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
// @ts-expect-error - currentTarget is HTMLElement
|
||||||
const input = e.currentTarget.querySelector('input');
|
const input = e.currentTarget.querySelector('input');
|
||||||
input?.focus();
|
input?.focus();
|
||||||
}, 0);
|
}, 0);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user