Skip to content

Fix response printing for Claude's output in Exercise 01#78

Open
tinopetros wants to merge 1 commit intoanthropics:masterfrom
tinopetros:master
Open

Fix response printing for Claude's output in Exercise 01#78
tinopetros wants to merge 1 commit intoanthropics:masterfrom
tinopetros:master

Conversation

@tinopetros
Copy link
Copy Markdown

@tinopetros tinopetros commented Mar 4, 2026

  • The Messages API returns a Messages object and we should get the content as done here
  • Otherwise, if the user fixes the prompting error exemplified here, they will run into an error since the Message object is not subscriptable
Screenshot 2026-03-04 at 15 46 25

@tinopetros tinopetros marked this pull request as ready for review March 4, 2026 20:47
@tinopetros tinopetros changed the title Fix response printing for Claude's output in Exercise 2 (#1) Fix response printing for Claude's output in Exercise 01 (#1) Mar 4, 2026
@tinopetros tinopetros changed the title Fix response printing for Claude's output in Exercise 01 (#1) Fix response printing for Claude's output in Exercise 01 Mar 5, 2026
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.

1 participant