Skip to content

Conversation

nictou-weglot
Copy link
Contributor

@nictou-weglot nictou-weglot commented Sep 12, 2025

Q A
Bug fix? no
New feature? yes
Docs? no
Issues Fix #...
License MIT

https://docs.anthropic.com/en/api/messages#response-usage

@OskarStark OskarStark changed the title [Platform][Anthropic] Add TokenOutputProcessor [Platform][Anthropic] Add TokenOutputProcessor Sep 12, 2025
@nictou-weglot nictou-weglot force-pushed the anthropicOutputProcessor branch from 1a33a94 to 92f2ce1 Compare September 12, 2025 13:00
@nictou-weglot nictou-weglot marked this pull request as ready for review September 12, 2025 13:01
@carsonbot carsonbot added Feature New feature Platform Issues & PRs about the AI Platform component Status: Needs Review labels Sep 12, 2025
Copy link
Contributor

@OskarStark OskarStark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM after PHPStan is happy

@VincentLanglet
Copy link
Contributor

LGTM after PHPStan is happy

@OskarStark I dunno currently how to solve the issue with PHPStan, the issue is exposed #515 (comment)

Any advice ?

@nictou-weglot nictou-weglot force-pushed the anthropicOutputProcessor branch from f42f6f4 to 25d85e0 Compare September 12, 2025 13:59
@welcoMattic
Copy link
Member

@nictou-weglot could you rebase your branch, we just merge a fix to makes PHPStan happy even on PRs using freshly added new classes on examples.

@nictou-weglot nictou-weglot force-pushed the anthropicOutputProcessor branch from 25d85e0 to 8c3ed4e Compare September 12, 2025 14:12
@welcoMattic
Copy link
Member

Thanks @nictou-weglot for working on this feature, this is much appreciated.

@welcoMattic welcoMattic merged commit 9eb72bc into symfony:main Sep 12, 2025
12 checks passed
@chr-hertel chr-hertel added the Hackathon 2025 This issue or pull request was part of the Symfony AI Hackathon 2025 label Sep 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature Hackathon 2025 This issue or pull request was part of the Symfony AI Hackathon 2025 Platform Issues & PRs about the AI Platform component Status: Reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants