-
-
Notifications
You must be signed in to change notification settings - Fork 10k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
β
test: add test for agent runtime providers (#1417)
* β test: add test for agent runtime providers * β test: fix test * β test: fix crypto relative test
- Loading branch information
Showing
19 changed files
with
1,688 additions
and
206 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
import { StreamingTextResponse } from 'ai'; | ||
|
||
import { ChatStreamPayload } from '@/types/openai/chat'; | ||
import { ChatCompetitionOptions, ChatStreamPayload } from './types'; | ||
|
||
export interface LobeRuntimeAI { | ||
baseURL?: string; | ||
|
||
chat(payload: ChatStreamPayload): Promise<StreamingTextResponse>; | ||
chat( | ||
payload: ChatStreamPayload, | ||
options?: ChatCompetitionOptions, | ||
): Promise<StreamingTextResponse>; | ||
} |
Oops, something went wrong.