UI Recipe/Custom Agents (#2119)

Co-authored-by: Kalvin Chau <kalvin@block.xyz>
This commit is contained in:
Zaki Ali
2025-04-11 13:28:29 -07:00
committed by GitHub
parent b030f845ce
commit 454e4a47f4
21 changed files with 1321 additions and 246 deletions
+3 -3
View File
@@ -173,9 +173,9 @@ export const initializeSystem = async (
console.log('Model synced with React state:', syncedModel);
}
// Get botConfig directly here
const botConfig = window.appConfig?.get?.('botConfig');
const botPrompt = botConfig?.instructions;
// Get recipeConfig directly here
const recipeConfig = window.appConfig?.get?.('recipeConfig');
const botPrompt = recipeConfig?.instructions;
// Extend the system prompt with desktop-specific information
const response = await fetch(getApiUrl('/agent/prompt'), {