WP5+WP6: Add AgentSession model, thinking level, and queue mode management

This commit is contained in:
Mario Zechner 2025-12-09 00:08:36 +01:00
parent d08e1e53e9
commit 0119d7610b
2 changed files with 175 additions and 11 deletions

View file

@ -575,11 +575,11 @@ async getAvailableModels(): Promise<Model<any>[]> {
**Verification:**
1. `npm run check` passes
- [ ] Add `ModelCycleResult` interface
- [ ] Add `setModel()` method
- [ ] Add `cycleModel()` method with scoped/available variants
- [ ] Add `getAvailableModels()` method
- [ ] Verify with `npm run check`
- [x] Add `ModelCycleResult` interface
- [x] Add `setModel()` method
- [x] Add `cycleModel()` method with scoped/available variants
- [x] Add `getAvailableModels()` method
- [x] Verify with `npm run check`
---
@ -639,11 +639,11 @@ supportsThinking(): boolean {
**Verification:**
1. `npm run check` passes
- [ ] Add `setThinkingLevel()` method
- [ ] Add `cycleThinkingLevel()` method
- [ ] Add `supportsThinking()` method
- [ ] Add `setQueueMode()` method and `queueMode` getter (see below)
- [ ] Verify with `npm run check`
- [x] Add `setThinkingLevel()` method
- [x] Add `cycleThinkingLevel()` method
- [x] Add `supportsThinking()` method
- [x] Add `setQueueMode()` method and `queueMode` getter (see below)
- [x] Verify with `npm run check`
**Queue mode (add to same WP):**
```typescript