how can i easily extend? #16
-
|
I noticed that your code uses enumerations extensively, such as MediaType and MessageOption. However, as a library, how can one easily extend and add their own functionalities to them? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Hi, @birdmichael ! Thanks for letting me know your issue. 🤔 Unfortunately, current enumerations cannot be extended. In 1.0.0 beta version, the goal 🎯 is to support "the most basic and common" message options or media types. Once the basic features are implemented, I plan to work on the extensibility of the types defined as enums. For example, I'm considering changing (Since it is an open source project, you are also welcome to submit a pull request directly without waiting for an update. 👍) 💡 I will definitely keep you informed about any work related to this. 🎯 By the way, ChatUI aims ...
If you have any issues or more questions, please let me know freely! 🙂 |
Beta Was this translation helpful? Give feedback.
-
|
그리고, 가능한 한 많이 나눠야 한다고 생각합니다. |
Beta Was this translation helpful? Give feedback.
Hi, @birdmichael ! Thanks for letting me know your issue.
🤔 Unfortunately, current enumerations cannot be extended.
In 1.0.0 beta version, the goal 🎯 is to support "the most basic and common" message options or media types. Once the basic features are implemented, I plan to work on the extensibility of the types defined as enums. For example, I'm considering changing
MessageOptionorMediaTypetostructtypes.(Since it is an open source project, you are also welcome to submit a pull request directly without waiting for an update. 👍)
💡 I will definitely keep you informed about any work related to this.
🎯 By the way, ChatUI aims ...
…