fix: use underscore prefix for unused parameter

Co-Authored-By: Han Xiao <han.xiao@jina.ai>
This commit is contained in:
Devin AI
2025-02-05 10:15:14 +00:00
parent 3a828ccf3e
commit 91a40e6d08

View File

@@ -3,8 +3,7 @@ import { LLMClient, LLMClientConfig } from '../../../utils/llm-client';
export class MockLLMClient implements LLMClient { export class MockLLMClient implements LLMClient {
constructor(private mockResponse: string = '{"queries": ["test query"]}') {} constructor(private mockResponse: string = '{"queries": ["test query"]}') {}
// eslint-disable-next-line @typescript-eslint/no-unused-params getGenerativeModel(_: LLMClientConfig) {
getGenerativeModel(config: LLMClientConfig) {
return { return {
generateContent: async () => ({ generateContent: async () => ({
response: { response: {