Commit d0e5ef1
committed
Refactor file handling and remove unused image size tables
Refactored the ToOpenAI method in StepContent.cs to use
CreateOpenAIImagePart for DBMessageContentType.FileId handling.
Renamed CreateOpenAIPart to CreateOpenAIImagePart in
FileUrlProvider.cs for clearer intent and adjusted related logic.
Removed GeneratedImageSize and KnownImageSize classes, along with
their associated database mappings, as they are no longer in use.1 parent 507a7d9 commit d0e5ef1
4 files changed
Lines changed: 2 additions & 44 deletions
File tree
- src/BE
- DB
- Extensions
- Services/FileServices
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
0 commit comments