Thinking for chats
This commit is contained in:
parent
b1c10e44ec
commit
8acac07c04
|
|
@ -591,7 +591,6 @@ export const ChatPanel = ({ visible }: { visible: boolean }) => {
|
|||
{tokenCount.taken} / {tokenCount.total}
|
||||
</span>
|
||||
)}
|
||||
{!currentWorld?.chatOnly && (
|
||||
<label class={styles.toggleContainer}>
|
||||
<input
|
||||
type="checkbox"
|
||||
|
|
@ -604,7 +603,6 @@ export const ChatPanel = ({ visible }: { visible: boolean }) => {
|
|||
/>
|
||||
<span>Thinking</span>
|
||||
</label>
|
||||
)}
|
||||
</div>
|
||||
<div class={styles.inputFooterRight}>
|
||||
{isLoading ? (
|
||||
|
|
|
|||
|
|
@ -423,6 +423,7 @@ namespace Prompt {
|
|||
tools: Tools.getTools([...Tools.CHAT_ONLY_TOOLS]),
|
||||
max_tokens: model.top_provider.max_completion_tokens || 2048,
|
||||
banned_tokens: state.bannedTokens,
|
||||
reasoning: { effort: enableThinking ? 'high' : 'none' },
|
||||
...state.generationSettings,
|
||||
...(continueLast && { remove_last_eos: true }),
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue