Merge pull request #10 from SujalXplores/feat/prompt-caching

Feat/prompt caching
This commit is contained in:
Dustin Loring
2024-12-01 07:31:40 -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[] = [
{