Closed tisfeng closed 2 months ago
I just refactored some code related to OpenAI, mainly allowing dynamic keys to be created based on the type of service, and then storing the configuration items for the service. This has reduced a lot of duplicated code.
@phlpsong There is still room for further optimization in the code here, like Defaults.Keys
in the Configuration+Defaults
file, these can be handled in later issues, such as #479 and #497.
I'm going to merge this PR, are there any questions?
Nice work👍
I have been busy recently, I will schedule some time to take a look at these optimization issues later.
ok