-
Notifications
You must be signed in to change notification settings - Fork 287
Open
Description
When using CodeMode we are sending a prompt like:
const { prompt, tools: wrappedTools } = await codemode({
prompt: 'You are a helpful assistant that can do various tasks... '
});We get back a modified prompt and use that in streamText for example:
const result = streamText({
system: prompt
});The issue is that codemode() completely ignores the prompt that it's given and return a static one. It needs to somehow merge my prompt (with specific behaviours and explanations my domain needs) to the codemode one (which explains the agent how to use the codemode functions and what they are).
maayanyosef
Metadata
Metadata
Assignees
Labels
No labels