Skip to content

Conversation

@teamdandelion
Copy link
Collaborator

@teamdandelion teamdandelion commented Aug 4, 2025

In offline discussion, we agreed that trying to support provider-specific messages creates a leaky abstraction / incomplete abstraction, especially since the Response will only have generic messages.

Supporting provider-specific input messages also raises the unaddressed question of what we do with provider-specific output messages and potentially unsupported content.

I left the AnthropicMessage, GoogleMessage etc type aliases, as I think it'll be a nice convention to alias whatever the provider-specific message representation may be, to a consistent type alias.

@teamdandelion teamdandelion marked this pull request as ready for review August 4, 2025 17:24
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Aug 4, 2025

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
v2-docs 633b611 Commit Preview URL Aug 05 2025, 03:13 AM

@teamdandelion teamdandelion force-pushed the 08-04-refactor_clients_only_use_generic_llm.message branch from 59b1f5f to ee0bff7 Compare August 4, 2025 18:21
@teamdandelion teamdandelion force-pushed the 08-01-test_start_tracking_code_coverage branch from 90b3895 to 1b845d5 Compare August 4, 2025 18:21
@teamdandelion teamdandelion force-pushed the 08-04-refactor_clients_only_use_generic_llm.message branch from ee0bff7 to 42332a0 Compare August 4, 2025 20:40
Copy link
Collaborator Author

teamdandelion commented Aug 5, 2025

Merge activity

  • Aug 5, 2:45 AM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Aug 5, 2:56 AM UTC: Graphite rebased this pull request as part of a merge.
  • Aug 5, 2:57 AM UTC: @teamdandelion merged this pull request with Graphite.

@teamdandelion teamdandelion changed the base branch from 08-01-test_start_tracking_code_coverage to graphite-base/1168 August 5, 2025 02:52
@teamdandelion teamdandelion changed the base branch from graphite-base/1168 to v2 August 5, 2025 02:54
In offline discussion, we agreed that trying to support
provider-specific messages creates a leaky abstraction / incomplete
abstraction, especially since the Response will only have generic
messages, and supporting provider-specific input messages also raises
the unaddressed question of what we do with provider-specific output
messages and potentially unsupported content.
@teamdandelion teamdandelion force-pushed the 08-04-refactor_clients_only_use_generic_llm.message branch from 42332a0 to 633b611 Compare August 5, 2025 02:55
@teamdandelion teamdandelion merged commit 2fe499b into v2 Aug 5, 2025
5 checks passed
@teamdandelion teamdandelion deleted the 08-04-refactor_clients_only_use_generic_llm.message branch August 5, 2025 02:57
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.

3 participants