mirror of
https://github.com/EthanMarti/infio-copilot.git
synced 2026-06-12 08:01:02 +00:00
Update to version 0.7.4, fix CORS errors for the Moonshot provider, add BM25 search support, and document related changes in the CHANGELOG.
This commit is contained in:
@@ -22,7 +22,7 @@ export class OpenAIMessageAdapter {
|
||||
client: OpenAI,
|
||||
request: LLMRequestNonStreaming,
|
||||
options?: LLMOptions,
|
||||
extraParams?: Record<string, any>,
|
||||
extraParams?: Record<string, unknown>,
|
||||
): Promise<LLMResponseNonStreaming> {
|
||||
const response = await client.chat.completions.create(
|
||||
{
|
||||
@@ -50,7 +50,7 @@ export class OpenAIMessageAdapter {
|
||||
client: OpenAI,
|
||||
request: LLMRequestStreaming,
|
||||
options?: LLMOptions,
|
||||
extraParams?: Record<string, any>,
|
||||
extraParams?: Record<string, unknown>,
|
||||
): Promise<AsyncIterable<LLMResponseStreaming>> {
|
||||
const stream = await client.chat.completions.create(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user