fix: convert to type imports and fix unused parameter

Co-Authored-By: Han Xiao <han.xiao@jina.ai>
This commit is contained in:
Devin AI 2025-02-05 10:07:27 +00:00
parent 34e3111a9e
commit d97bc43f5d
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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: {