29d0541ac9
Recent versions of llama.cpp moved the server properties endpoint from /props to /v1/props (consistent with the /v1 API prefix convention). The server-type detection path and the n_ctx reading path both used the old /props URL, which returns 404 on current builds. This caused the allocated context window size to fall back to a hardcoded default, resulting in an incorrect (too small) value being displayed in the TUI context bar. Fix: try /v1/props first, fall back to /props for backward compatibility with older llama.cpp builds. Both paths are now handled gracefully.