To enumerate models you have to scrape <option> tags from GET /html/settings/assistant. Works, but brittle — any template change breaks it.
Both ki_* profile slugs and the underlying LLM slugs (claude-4-7-opus, gpt-5-5, gemini-3-pro, etc.) live in that same form, so the data is already there. Just want it shaped:
kagi assistant models --json
Internal impl can keep scraping; just stabilize the output.
To enumerate models you have to scrape
<option>tags fromGET /html/settings/assistant. Works, but brittle — any template change breaks it.Both
ki_*profile slugs and the underlying LLM slugs (claude-4-7-opus,gpt-5-5,gemini-3-pro, etc.) live in that same form, so the data is already there. Just want it shaped:Internal impl can keep scraping; just stabilize the output.