Files
crawlab/core/models/models/environment.go
Marvin Zhang 9e25ea9b51 refactor: standardize LLM provider key naming and enhance related components
- Renamed 'Key' fields to 'Type' in various models for consistency across the codebase.
- Updated route naming in router.go for clarity in the context of settings.
- Introduced a new LlmProviderForm component for managing LLM provider configurations.
- Refactored AssistantConsole and related components to utilize providerId instead of provider for improved state management.
- Enhanced UI elements and translations to reflect the new naming conventions and improve user experience.
2025-05-09 15:35:57 +08:00

9 lines
238 B
Go

package models
type Environment struct {
any `collection:"environments"`
BaseModel `bson:",inline"`
Key string `json:"key" bson:"key" description:"Type"`
Value string `json:"value" bson:"value" description:"Value"`
}