co-mono/packages/web-ui/src/prompts
Mario Zechner 7a859cbe52 Merge createArtifact and updateArtifact into createOrUpdateArtifact
LLMs get confused about when to use create vs update. The single function
automatically detects if the artifact exists and chooses the right operation.

Changes:
- Replace createArtifact/updateArtifact with createOrUpdateArtifact in runtime
- Update handler to check existence and use appropriate command (create/rewrite)
- Simplify prompt documentation and examples
2025-10-10 01:43:36 +02:00
..
tool-prompts.ts Merge createArtifact and updateArtifact into createOrUpdateArtifact 2025-10-10 01:43:36 +02:00