| | |
| | | </Stack> |
| | | <Divider sx={{ my: 1.5 }} /> |
| | | <Typography variant="body2" color="text.secondary"> |
| | | Base URL |
| | | {translate("ai.param.fields.baseUrl")} |
| | | </Typography> |
| | | <Typography variant="body2" sx={{ mb: 1.5, wordBreak: "break-all" }}> |
| | | {truncateText(record.baseUrl, 120)} |
| | | </Typography> |
| | | <Grid container spacing={1}> |
| | | <Grid item xs={6}> |
| | | <Typography variant="caption" color="text.secondary">Temperature</Typography> |
| | | <Typography variant="caption" color="text.secondary">{translate("ai.param.fields.temperature")}</Typography> |
| | | <Typography variant="body2">{record.temperature ?? "--"}</Typography> |
| | | </Grid> |
| | | <Grid item xs={6}> |
| | | <Typography variant="caption" color="text.secondary">Top P</Typography> |
| | | <Typography variant="caption" color="text.secondary">{translate("ai.param.fields.topP")}</Typography> |
| | | <Typography variant="body2">{record.topP ?? "--"}</Typography> |
| | | </Grid> |
| | | <Grid item xs={6}> |
| | | <Typography variant="caption" color="text.secondary">Max Tokens</Typography> |
| | | <Typography variant="caption" color="text.secondary">{translate("ai.param.fields.maxTokens")}</Typography> |
| | | <Typography variant="body2">{record.maxTokens ?? "--"}</Typography> |
| | | </Grid> |
| | | <Grid item xs={6}> |
| | | <Typography variant="caption" color="text.secondary">Timeout</Typography> |
| | | <Typography variant="caption" color="text.secondary">{translate("ai.param.fields.timeoutMs")}</Typography> |
| | | <Typography variant="body2">{record.timeoutMs ?? "--"} ms</Typography> |
| | | </Grid> |
| | | </Grid> |