mirror of
https://github.com/EthanMarti/infio-copilot.git
synced 2026-01-16 08:21:55 +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)
|
||||
}
|
||||
|
||||
|
||||
@ -355,6 +355,7 @@ export const ComboBoxComponent: React.FC<ComboBoxComponentProps> = ({
|
||||
e.preventDefault();
|
||||
// 延迟聚焦到搜索输入框
|
||||
setTimeout(() => {
|
||||
// @ts-expect-error - currentTarget is HTMLElement
|
||||
const input = e.currentTarget.querySelector('input');
|
||||
input?.focus();
|
||||
}, 0);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user