Skip to content

v0.0.162

Choose a tag to compare

@github-actions github-actions released this 14 Nov 17:36
  • Update the default chat models: OpenAI moves from gpt-4.1-mini, which OpenAI shuts down on 14 January 2027, to gpt-6-luna; Anthropic moves from claude-sonnet-4-5-20250929, which Anthropic retires on 30 November 2026, to claude-haiku-5-5; and Google moves from gemini-2.5-flash-lite, which new Google projects can no longer use, to gemini-3.5-flash-lite. Each is a fast model below its provider's top price tier. Sites generated by an earlier version keep the old defaults in services/llm/config.ts, so regenerate them or set LLM_CHAT_MODEL before those dates
  • Stop sending a temperature that the model rejects: the Anthropic SDK now sends API version 2026-10-21, which returns a 400 for temperature on every Claude model, so on a generated site that installs the current SDK, the Anthropic AI assistant failed on every question. A temperature is no longer sent to Anthropic, or to Gemini 3.5 models onwards, which ignore it (Google says later generations will reject it), alongside OpenAI's reasoning and GPT-5+ models as before. Setting LLM_TEMPERATURE for one of these models prints a one-time server warning. For models that still accept one, the range is 0 to 2
  • Stream only the answer text from the AI assistant: claude-haiku-5-5 thinks before it answers, and the RAG route forwarded each chunk's raw content, so thinking and signature blocks reached the chat as arrays instead of text. A new chunkText helper in services/llm/stream.ts keeps only the text blocks, with tests covering plain, text-block, thinking, signature-only, and mixed chunks
  • Update dependencies: the CLI moves to pnpm 12.18.0, commander ^15.1.0, lucide-react ^1.73.0, next ^16.4.6, prettier ^3.10.1, and vitest ^5.1.0; generated apps move to next 16.4.6 with @next/env/@next/eslint-plugin-next 16.4.6, langchain ^1.6.6 with @langchain/anthropic ^1.6.5, @langchain/core ^1.4.1, @langchain/google-genai ^2.3.6, and @langchain/openai ^1.8.4, cherry-styled-components ^0.2.22, lucide-react ^1.73.0, posthog-js ^1.449.2, posthog-node ^5.73.1, @typescript-eslint/* ^8.72.2, and prettier ^3.10.1