UNPKG

recoder-shared

Version:

Shared types, utilities, and configurations for Recoder

24 lines 1.56 kB
/** * Bedrock types and constants for recoder.xyz * Replaces @roo-code/types imports */ export type BedrockModelId = "anthropic.claude-3-5-sonnet-20241022-v2:0" | "anthropic.claude-3-5-sonnet-20240620-v1:0" | "anthropic.claude-3-5-haiku-20241022-v1:0" | "anthropic.claude-3-opus-20240229-v1:0" | "anthropic.claude-3-sonnet-20240229-v1:0" | "anthropic.claude-3-haiku-20240307-v1:0" | "amazon.titan-text-premier-v1:0" | "amazon.titan-text-express-v1" | "meta.llama3-2-90b-instruct-v1:0" | "meta.llama3-2-11b-instruct-v1:0" | "meta.llama3-2-3b-instruct-v1:0" | "meta.llama3-2-1b-instruct-v1:0" | "meta.llama3-1-405b-instruct-v1:0" | "meta.llama3-1-70b-instruct-v1:0" | "meta.llama3-1-8b-instruct-v1:0" | "mistral.mistral-large-2407-v1:0" | "mistral.mistral-small-2402-v1:0"; export declare const bedrockDefaultModelId: BedrockModelId; export declare const bedrockDefaultPromptRouterModelId: BedrockModelId; export declare const BEDROCK_DEFAULT_TEMPERATURE = 0.7; export declare const BEDROCK_MAX_TOKENS = 4096; export declare const BEDROCK_DEFAULT_CONTEXT = 200000; export declare const AWS_INFERENCE_PROFILE_MAPPING: Record<string, BedrockModelId>; export declare const bedrockModels: Record<BedrockModelId, ModelInfo>; export interface ProviderSettings { apiModelId?: string; modelTemperature?: number; maxTokens?: number; anthropicApiKey?: string; awsRegion?: string; awsCredentialsProfile?: string; awsCustomArn?: string; [key: string]: any; } import type { ModelInfo } from './api'; //# sourceMappingURL=bedrock-types.d.ts.map