teknium1 / Prompt-Engineering-Toolkit

327 stars 23 forks source link

Support OpenAI compatible local AI server #2

Open JYC0413 opened 5 days ago

JYC0413 commented 5 days ago

Hello, I am a front-end engineer. I recently discovered your project and feel that this tool is very useful. I now have a local startup model tool - LlamaEdge. I added support for Llamaedge for your project. The specific content is as follows:

  1. You can get models based on the base url without the user manually filling it in

  2. Added the handleMultipleModelConfigChange method to handle the cascading relationship generated by the drop-down selection box

  3. Adjusted the order of the set model part when selecting Llamaedge, and laid a certain foundation for the subsequent expansion of other models

If you think my submission is helpful to you, you can merge it into this project, or if you have any questions, you can contact me at any time.

Again, this project is really interesting, and I feel that there are some places that can be done better. I look forward to making some contributions to this project in the future!

teknium1 commented 2 days ago

Hey can you rebase your changes to this latest

JYC0413 commented 1 day ago

Hi @teknium1 ,

I have completed the rebase. Please check the latest changes and let me know if you have any questions or need any further adjustments.