mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
- Introduced AutoProbeForm and AutoProbeTaskStatus components for managing AutoProbe configurations and task statuses. - Updated LLMProvider model to include a default model field for improved provider management. - Enhanced AutoProbeList and AutoProbeDetail components for better user interaction and data display. - Refactored related Vue components and services to streamline AutoProbe functionality and improve state management. - Added internationalization support for new AutoProbe features and updated existing translations.
16 lines
367 B
Go
16 lines
367 B
Go
package controllers
|
|
|
|
import (
|
|
"github.com/crawlab-team/crawlab/core/entity"
|
|
"github.com/crawlab-team/crawlab/core/utils"
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
func GetSystemInfo(_ *gin.Context) (response *Response[entity.SystemInfo], err error) {
|
|
info := entity.SystemInfo{
|
|
Edition: utils.GetEdition(),
|
|
Version: utils.GetVersion(),
|
|
}
|
|
return GetDataResponse(info)
|
|
}
|