Thank you for your submission, an automated scan of your plugin code's revealed the following issues:

### Required

[[1](https://github.com/RanceLee233/obsidian-at-ai/blob/93e073d17c622fe943a4afc85223d75cf824df5d/src/ui/InlineAIModal.ts#L259)][[2](https://github.com/RanceLee233/obsidian-at-ai/blob/93e073d17c622fe943a4afc85223d75cf824df5d/src/ui/InlineAIModal.ts#L264)][[3](https://github.com/RanceLee233/obsidian-at-ai/blob/93e073d17c622fe943a4afc85223d75cf824df5d/src/ui/InlineAIModal.ts#L265)][[4](https://github.com/RanceLee233/obsidian-at-ai/blob/93e073d17c622fe943a4afc85223d75cf824df5d/src/ui/InlineAIModal.ts#L268)]:You should avoid assigning styles via JavaScript or in HTML and instead move all these styles into CSS so that they are more easily adaptable by themes and snippets.


[[1](https://github.com/RanceLee233/obsidian-at-ai/blob/93e073d17c622fe943a4afc85223d75cf824df5d/src/ui/ModelManagerModal.ts#L121)][[2](https://github.com/RanceLee233/obsidian-at-ai/blob/93e073d17c622fe943a4afc85223d75cf824df5d/src/ui/ModelManagerModal.ts#L129)]:Using `innerHTML`, `outerHTML` or similar API's is a security risk. Instead, use the DOM API or the Obsidian helper functions: <https://docs.obsidian.md/Plugins/User+interface/HTML+elements>

[[1](https://github.com/RanceLee233/obsidian-at-ai/blob/93e073d17c622fe943a4afc85223d75cf824df5d/src/main.ts#L107)]:We recommend against providing a default hotkey when possible. The reason being that it's easy to pick a hotkey that a user already has configured and they could get confused when that key doesn't do what they expect. Also, it's hard choosing a safe default hotkey that's available for all operating systems.



---

### Optional

[[1](https://github.com/RanceLee233/obsidian-at-ai/blob/93e073d17c622fe943a4afc85223d75cf824df5d/src/i18n/index.ts#L37)][[2](https://github.com/RanceLee233/obsidian-at-ai/blob/93e073d17c622fe943a4afc85223d75cf824df5d/src/ui/InlineAIModal.ts#L227)][[3](https://github.com/RanceLee233/obsidian-at-ai/blob/93e073d17c622fe943a4afc85223d75cf824df5d/src/ui/InlineAIModal.ts#L409)][[4](https://github.com/RanceLee233/obsidian-at-ai/blob/93e073d17c622fe943a4afc85223d75cf824df5d/src/main.ts#L170)][[5](https://github.com/RanceLee233/obsidian-at-ai/blob/93e073d17c622fe943a4afc85223d75cf824df5d/src/main.ts#L253)][[6](https://github.com/RanceLee233/obsidian-at-ai/blob/93e073d17c622fe943a4afc85223d75cf824df5d/src/main.ts#L254)]:Casting to `any` should be avoided as much as possible.



---



Do <b>NOT</b> open a new PR for re-validation.
Once you have pushed all of the required changes to your repo, the bot will update the labels on this PR within 6 hours.
If you think some of the required changes are incorrect, please comment with `/skip` and the reason why you think the results are incorrect.