Closed iptton closed 5 months ago
Describe the bug openAI custom model not work as expected
To Reproduce Steps to reproduce the behavior:
Expected behavior setting stay "custom"
relate code:
get() { val customModel = AutoDevSettingsState.getInstance().customModel if(AutoDevSettingsState.getInstance().openAiModel == SELECT_CUSTOM_MODEL) { AutoDevSettingsState.getInstance().openAiModel = customModel } return AutoDevSettingsState.getInstance().openAiModel }
will reset openAIModel to a unknow value
https://github.com/unit-mesh/auto-dev/commit/e001c12d54ee01b0dcf5ede6b01fa1a4d7891c35
Describe the bug openAI custom model not work as expected
To Reproduce Steps to reproduce the behavior:
Expected behavior setting stay "custom"
relate code:
will reset openAIModel to a unknow value
https://github.com/unit-mesh/auto-dev/commit/e001c12d54ee01b0dcf5ede6b01fa1a4d7891c35