Skip to content

Conversation

@cpsievert
Copy link
Collaborator

@cpsievert cpsievert commented Nov 4, 2025

Pairs with tidyverse/ellmer#815

Partially addresses #59. To fully close there we'll want to:

  1. Allow .stream() to stream thinking deltas (so you can differentiate between thinking/non-thinking text)
  2. Come up with a better display of thinking text for .chat()
import chatlas as ctl

chat = ctl.ChatAnthropic(model="claude-haiku-4-5-20251001", reasoning=1200)
chat = ctl.ChatGoogle(reasoning=1200)
chat = ctl.ChatOpenAI(model="gpt-5", reasoning="low")

chat.chat("Tell me a joke. Think hard.", echo="none")
chat.chat("Why is that funny?", echo="none")

print(repr(chat.get_turns()))

@cpsievert cpsievert force-pushed the feat/reasoning branch 3 times, most recently from a137f92 to 21b1481 Compare November 6, 2025 01:06
@cpsievert cpsievert requested a review from Copilot December 29, 2025 23:47
@cpsievert cpsievert marked this pull request as ready for review December 29, 2025 23:47

This comment was marked as resolved.

@cpsievert cpsievert merged commit 3a079d9 into main Dec 29, 2025
12 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants