Skip to content

Commit d8491f1

Browse files
committed
removing max tokens constraint
1 parent fc8af7a commit d8491f1

3 files changed

Lines changed: 11 additions & 12 deletions

File tree

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>uno.anahata</groupId>
88
<artifactId>gemini-java-client</artifactId>
9-
<version>1.0.14</version>
9+
<version>1.0.15</version>
1010
<packaging>jar</packaging>
1111

1212
<name>gemini-java-client</name>

src/main/java/uno/anahata/ai/config/ConfigManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public GenerateContentConfig makeGenerateContentConfig() {
9393
GenerateContentConfig.Builder builder = GenerateContentConfig.builder()
9494
.systemInstruction(buildSystemInstructions())
9595
.thinkingConfig(ThinkingConfig.builder().includeThoughts(true))
96-
.maxOutputTokens(availableForResponse)
96+
//.maxOutputTokens(availableForResponse)
9797
.temperature(0f);
9898

9999
if (chat.isFunctionsEnabled()) {

tasks.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@
22

33
This document is the single source of truth for all actionable work items, technical debt, and future enhancements for the `gemini-java-client` project.
44

5-
## Phase 1: Release 1.0.0
6-
- [x] Refactor ChatPanel to use a single constructor and simplify integration.
7-
- [x] Update Main.java to use the new ChatPanel constructor.
8-
- [x] Update AnahataTopComponent to use the new ChatPanel constructor.
9-
- [x] Update README.md with the new integration example.
10-
- [x] Add more screenshots to the README.
11-
- [x] Refine README with deep IDE integration examples and correct screenshot placement.
12-
- [x] Finalize README with website/YouTube links and optimistic locking note.
5+
## Phase 1: Release 1.0.14 (Theme & UI Overhaul)
6+
- [x] **Theme-Independent UI Engine**: Implemented `UITheme` with Auto, Light, Dark, and Minimalist modes.
7+
- [x] **Vector Icon System**: Replaced PNG icons with programmatically drawn, theme-aware `ThemedIcon`s for perfect scaling and contrast.
8+
- [x] **Enhanced Rendering**: Overhauled all `PartRenderer` implementations to respect theme colors and improve readability in "Metal" and other classic LAFs.
9+
- [x] **Context Heatmap Refinement**: Role-based color coding for both the table and the pie chart, with descriptive "gist" labels.
10+
- [x] **Refactor ChatPanel**: Simplified constructor and integration points.
11+
- [x] **Documentation**: Updated README with deep IDE integration examples and correct screenshot placement.
1312

14-
## Phase 2: Known bugs (Deferred to after 1.0.0 release)
13+
## Phase 2: Known bugs (Deferred to after 1.0.14 release)
1514
- [ ] **Fix Async Job Delivery:** Implement a queueing mechanism in `Chat` to ensure that asynchronous job results are reliably delivered and not dropped when a tool loop is already in progress.
16-
- [ ] **Cancellation Framework:** Implement a robust cancellation mechanism (`ExecutorService`/`Future`) for API calls, tool loops, and individual tool executions.
15+
- [X] **Cancellation Framework:** Implement a robust cancellation mechanism (`ExecutorService`/`Future`) for API calls, tool loops, and individual tool executions.

0 commit comments

Comments
 (0)