mirror of
https://github.com/jina-ai/node-DeepResearch.git
synced 2025-12-26 06:28:56 +08:00
fix: convert to type imports and fix unused parameter
Co-Authored-By: Han Xiao <han.xiao@jina.ai>
This commit is contained in:
parent
34e3111a9e
commit
d97bc43f5d
@ -1,4 +1,4 @@
|
||||
import { GoogleAIWrapper, LocalLLMClient } from '../utils/llm-client';
|
||||
import type { GoogleAIWrapper, LocalLLMClient } from '../utils/llm-client';
|
||||
|
||||
describe('LLM Client', () => {
|
||||
const originalEnv = process.env;
|
||||
|
||||
@ -3,7 +3,7 @@ import { LLMClient, LLMClientConfig } from '../../../utils/llm-client';
|
||||
export class MockLLMClient implements LLMClient {
|
||||
constructor(private mockResponse: string = '{"queries": ["test query"]}') {}
|
||||
|
||||
getGenerativeModel(_: LLMClientConfig) {
|
||||
getGenerativeModel(config: LLMClientConfig) {
|
||||
return {
|
||||
generateContent: async () => ({
|
||||
response: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user