Closed desaxce closed 3 months ago
We ended up using a GenerationStep
regular Pothos field instead of Step
Prisma field in the createGeneration
mutation. That way, no need to update our SDKs and we're super safe!
I'll still use this PR to prepare for when we drop GenerationStep
from the platform code.
Fixes for the migration:
promptType
to remap it to atype
llm
torun
since we need to pass eithermessages
orprompt
for LLM stepsEnd-to-end tests should pass against the migration branch.