format codebase with prettier

This commit is contained in:
2026-01-04 16:17:36 +01:00
parent 77f15b6dd1
commit e3f7a778c7
63 changed files with 786 additions and 542 deletions

View File

@@ -1,18 +1,21 @@
import Anthropic from '@anthropic-ai/sdk';
import { AIProvider, AIContext, AIResponse } from '../services/interfaces';
import Anthropic from "@anthropic-ai/sdk";
import { AIProvider, AIContext, AIResponse } from "../services/interfaces";
export class ClaudeAdapter implements AIProvider {
private client: Anthropic;
private model: string;
constructor(apiKey?: string, model: string = 'claude-3-haiku-20240307') {
constructor(apiKey?: string, model: string = "claude-3-haiku-20240307") {
this.client = new Anthropic({
apiKey: apiKey || process.env.ANTHROPIC_API_KEY,
});
this.model = model;
}
async processMessage(message: string, context: AIContext): Promise<AIResponse> {
throw new Error('Not implemented');
async processMessage(
message: string,
context: AIContext,
): Promise<AIResponse> {
throw new Error("Not implemented");
}
}