1
0
mirror of synced 2026-08-05 23:36:55 +00:00

FEATURE: implement thinking token support (#1155)

adds support for "thinking tokens" - a feature that exposes the model's reasoning process before providing the final response. Key improvements include:

- Add a new Thinking class to handle thinking content from LLMs
- Modify endpoints (Claude, AWS Bedrock) to handle thinking output
- Update AI bot to display thinking in collapsible details section
- Fix SEARCH/REPLACE blocks to support empty replacement strings and general improvements to artifact editing
- Allow configurable temperature in triage and report automations
- Various bug fixes and improvements to diff parsing
This commit is contained in:
Sam
2025-03-04 12:22:30 +11:00
committed by GitHub
parent 3f20b24aa3
commit f6eedf3e0b
30 changed files with 957 additions and 144 deletions
@@ -168,12 +168,14 @@ export default class BotSelector extends Component {
.filter((bot) => !bot.is_persona)
.filter(Boolean);
return availableBots.map((bot) => {
return {
id: bot.id,
name: bot.display_name,
};
});
return availableBots
.map((bot) => {
return {
id: bot.id,
name: bot.display_name,
};
})
.sort((a, b) => a.name.localeCompare(b.name));
}
<template>