# AI 机器人个性不接受 temperature、top\_p 的小数

**URL:** <https://meta.discourse.org/t/ai-bot-personas-don-t-accept-decimals-for-temperature-top-p/298243>\
**Category:** Support\
**Created:** [2024年三月6日 19:16 UTC](https://meta.discourse.org/t/ai-bot-personas-don-t-accept-decimals-for-temperature-top-p/298243 "2024-03-06T19:16:37Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [2024年三月7日 22:47 UTC](https://meta.discourse.org/t/ai-bot-personas-don-t-accept-decimals-for-temperature-top-p/298243/9 "2024-03-07T22:47:29Z")

</div>

将在以下位置修复：

> <https://github.com/discourse/discourse-ai/pull/518>
>
> 1. Fix input fields in AI persona editor and make GitHub tool authentication opt…ional
> 
> 2. AI persona editor improvements and tool GitHub access token check
> 
> This pull request makes a few improvements:
> 
> \- Adds \`lang="en"\` to number input fields in the AI persona editor to prevent localization issues 
> \- Adds \`step="any"\` to allow fractional values for temperature and top\_p settings
> \- Makes GitHub tool authentication contingent on \`ai\_bot\_github\_access\_token\` site setting being present
> 
> see: https://meta.discourse.org/t/ai-bot-personas-don-t-accept-decimals-for-temperature-top-p/298243/7

---

_[View the full topic](https://meta.discourse.org/t/ai-bot-personas-don-t-accept-decimals-for-temperature-top-p/298243)._
