Migration¶
This section lists required migration steps for upgrades between major versions.
0.1.x → 0.2.x¶
Chat completion component¶
The used OpenAI component changed from text completion to chat completion.
Migrate the used model in your extension configuration. The new default model is
gpt-3.5-turbo-0301
.
Solution stream¶
Solutions are now streamed to exception pages.
Migrate custom solution providers to implement
EliasHaeussler\Typo3Solver\ProblemSolving\Solution\Provider\StreamedSolutionProvider
.Note the modified DOM structure for solutions on exception pages.
Dependency injection¶
Several classes are now ready for dependency injection.
Migrate custom classes to use dependency injection.
Implement new static factory method
create()
within custom solution providers and prompts.Make sure custom classes can be used without dependency injection as well, since exception handling may happen on a very low level where DI is not available (yet).