Merge pull request #23 from dustinwloring1988/prompt-caching

Prompt caching
This commit is contained in:
Dustin Loring
2024-12-01 08:53:20 -05:00
committed by GitHub
3 changed files with 31 additions and 4 deletions

View File

@@ -7,6 +7,7 @@ export const MODIFICATIONS_TAG_NAME = 'bolt_file_modifications';
export const MODEL_REGEX = /^\[Model: (.*?)\]\n\n/;
export const PROVIDER_REGEX = /\[Provider: (.*?)\]\n\n/;
export const DEFAULT_MODEL = 'claude-3-5-sonnet-latest';
export const PROMPT_COOKIE_KEY = 'cachedPrompt';
const PROVIDER_LIST: ProviderInfo[] = [
{