yao/aigc
Max 7bee60c67c refactor: Update AI connector handling and add support for Moapi models
The code changes in `aigc.go` and `types.go` refactor the AI connector handling in the `DSL` struct. The `Connector` field now accepts an optional `moapi` prefix, allowing for the selection of Moapi models. If the `Connector` field starts with `moapi`, the code initializes a new Moapi instance with the specified model. Additionally, the `Connector` field is now marked as `omitempty` in the `types.go` file.

This update improves the flexibility of the AI connector configuration and enables the use of Moapi models in the AI system.
2024-06-15 15:57:36 +08:00
..
aigc.go refactor: Update AI connector handling and add support for Moapi models 2024-06-15 15:57:36 +08:00
aigc_test.go [add] neo (50%) 2023-04-29 16:48:37 +08:00
load.go [add] neo commands ( 50% ) 2023-05-02 19:36:02 +08:00
load_test.go [add] neo (50%) 2023-04-29 16:48:37 +08:00
process.go [_] 2023-04-27 22:48:20 +08:00
process_test.go [add] aigc widget done 2023-04-27 22:31:51 +08:00
types.go refactor: Update AI connector handling and add support for Moapi models 2024-06-15 15:57:36 +08:00