Skip to content

Commit 96cc584

Browse files
committed
- Carrier stats prompt
1 parent 68c2f7c commit 96cc584

File tree

2 files changed

+18
-16
lines changed

2 files changed

+18
-16
lines changed

app/src/main/java/elite/intel/ai/brain/handlers/query/AnalyzeFleetCarrierFinalDestinationHandler.java

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,24 @@ public JsonObject handle(String action, JsonObject params, String originalUserIn
3232
String iceRingStops = calculateIceRingStops(carrierRoute);
3333

3434
String instructions = """
35-
Provide route summary.
36-
DATA:
37-
- finalDestination is destination
38-
- timeInMinutes announce as hours and minutes
39-
- totalFuelRequired is total fuel required
40-
- numJumps is number of legs/stops/jumps
41-
- refuelLocations are star systems with ice rings containing fuel
42-
RULE:
43-
Begin with: "The fleet carrier will arrive at [finalDestination] in HH hours and MM minutes. [totalFuelRequired] tons of fuel required to complete the journey."
44-
Then evaluate fuelBalance from the data:
45-
- If fuelBalance < 0 (negative): append "The carrier will need to refuel before reaching [finalDestination]."
46-
- If fuelBalance >= 0 (zero or positive): append "The carrier will have sufficient fuel to reach [finalDestination]."
47-
Do not add anything else.
35+
Answer the user's question about the fleet carrier's planned route.
36+
37+
Data fields:
38+
- finalDestination: the destination system
39+
- timeInMinutes: total travel time — announce as hours and minutes
40+
- totalFuelRequired: tritium needed for the full journey in tons
41+
- numJumps: number of legs/stops/jumps to destination
42+
- refuelLocations: star systems with ice rings where the carrier can refuel
43+
- fuelBalance: positive = tritium surplus in tons, negative = shortfall in tons
44+
45+
Rules:
46+
- Answer only what was asked. Do not volunteer unrequested data.
47+
- For destination questions: use finalDestination.
48+
- For ETA or travel time questions: use timeInMinutes.
49+
- For jump count questions: use numJumps.
50+
- For fuel questions: use totalFuelRequired and fuelBalance.
51+
- For refuel stop questions: use refuelLocations.
52+
- Only mention fuelBalance if the user asked about fuel or range.
4853
""";
4954

5055
return process(new AiDataStruct(instructions, new DataDto(finalDestination, totalFuelRequired, fuelBalance, timeInMinutes, numJumps, iceRingStops)), originalUserInput);

distribution/release-notes.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,6 @@
180180

181181
- Changed Gemini model to "gemini-3.1-flash-lite-preview" per request.
182182

183-
---
184183

185184
## Elite Intel v-0.0314
186185

@@ -189,7 +188,6 @@
189188
- Added LM Studio support.
190189
- Fixing orbital navigation.
191190

192-
---
193191

194192
## Elite Intel v-0.0313 (hot fix)
195193

@@ -199,7 +197,6 @@
199197
- Gemeni response format tuning.
200198
- Added a Fleet management panel under the Player tab. You can now customize the personality, cadence and voice of your ships. NOTE: The voice names will be reset to default if you switch from Local to Cloud voices and back.
201199

202-
---
203200

204201
## Elite Intel v-0.0311-beta
205202

0 commit comments

Comments
 (0)