export function updateDynamicVariables(prompt: string, variables: Record<string, any>): string {
    const keys = Object.keys(variables)
    let finalPrompt = prompt
    keys.map(k => {
        const replacementKey = `{{${k}}}`
        finalPrompt = finalPrompt.replace(replacementKey, variables[k])
    })

    return finalPrompt
}