Spaces:
Sleeping
Sleeping
Commit History
-
Fix review items A1-A5: astronomy correctness, scoring, reliability, UX, and location timezones.
red +1: Cursor- A1: visualization.py — correct UTC conversion for starplot (astimezone instead of replace on aware dt). - A2: scoring.py — early guard returns score=1 for targets below horizon (peak_altitude <= 0 or "below horizon"). - A3: router.py — per-model safe future.result() fallbacks in generate_all_models_plan so one LLM timeout does not crash the whole plan. - A4: app.py — demo.load handler to hydrate BrowserState history/cottage board cards on page refresh (no more empty on load). - A5: timezone support for custom locations and NL queries: - New core/timezone_utils.py (get_tz with sane fallbacks). - locations.py presets now carry "timezone". - geocoder.py captures and propagates Open-Meteo "timezone" via PlanLocation. - router.py: _local_tz / _resolve_observation_time now accept tz_name. - nl_parser.py: find_best_date accepts and uses tz_name for local 22:00. - app.py and call sites thread tz_name from resolve_plan_location. All 74 tests still pass; A items verified with targ…feb1a07 -
Implement Phase 5: Targets Tab and Constellation Browser
redcbc8d0e
-
Cutover to deterministic-first router and update polish prompts
red- Replaced agent/router.py with deterministic-first logic - Updated Gradio app.py to remove Phase 1 placeholders - Refactored agent/prompts.py to include a strong LLM polish prompt - Simplified agent/tools.py to document router capabilities - Added __init__.py files for module resolution - Updated roadmap.md to mark steps 1-6 as completed - Updated README.md to reflect the current phase status1730bab -
Clean up router and UI toggles
reda5706ff
-
chore(phase1): project setup with folder structure, requirements, working Gradio skeleton, core/agent/data stubs, and placeholders
red- Full UI: location, timeframe, Off Grid/Weather/View Sky toggles, model dropdown - Toggle interactions (Off Grid disables weather) - Working router returning toggle-aware markdown + optional PIL sky placeholder - Mock core modules so everything runs today (real Skyfield/Open-Meteo/LLM in later steps) - .env.example + .gitignore - Verified: imports, router calls with all toggle combos, Gradio Blocks construction - Aligned with p1.md + roadmap + arch + agent.md This gives a clean, runnable foundation for the remaining 6 steps.b1c17c3