Effect CommunityEC
Effect Community7mo ago
3 replies
James Birtles

System Prompt Handling in AiChat.fromExport and .empty Functions

Unless I'm missing something, there doesn't seem to be any way to use a system prompt with the AiChat.fromExport or .empty functions, as it seems to get ignored when passing it to streamText. The system message doesn't appear in the export and so when resuming a conversation later the LLM no longer has access to the system message
Was this page helpful?