- Add go-zero dependency to go.mod - Create api/chat.api with OpenAI-compatible types - Create etc/chat.yaml configuration - Update Makefile with goctl commands - Generate go-zero scaffold (types, handlers, logic, svc) - Move chat.go to cmd/chat/chat.go - Add Config struct for go-zero (keep BridgeConfig for backward compatibility) |
||
|---|---|---|
| .. | ||
| chat-api.yaml | ||
| chat.yaml | ||