Skip to content

Conversation

@subtleGradient
Copy link
Contributor

  • Add Effect AI example for google/gemini-3-pro-preview reasoning
  • Follows Effect patterns: Effect.gen, Layer composition, proper types
  • Uses OpenRouterClient and OpenRouterLanguageModel layers

KNOWN ISSUE: Schema validation failure

  • @effect/ai-openrouter schema doesn't include 'google-gemini-v1' format
  • Reasoning details format enum needs update
  • Documented in KNOWN-ISSUE.md
  • Fetch and AI SDK v5 examples work correctly

When schema is updated to include 'google-gemini-v1':

  • This example will work without modification
  • API returns valid data, just schema validation is strict

- Add Effect AI example for google/gemini-3-pro-preview reasoning
- Follows Effect patterns: Effect.gen, Layer composition, proper types
- Uses OpenRouterClient and OpenRouterLanguageModel layers

KNOWN ISSUE: Schema validation failure
- @effect/ai-openrouter schema doesn't include 'google-gemini-v1' format
- Reasoning details format enum needs update
- Documented in KNOWN-ISSUE.md
- Fetch and AI SDK v5 examples work correctly

When schema is updated to include 'google-gemini-v1':
- This example will work without modification
- API returns valid data, just schema validation is strict
Copy link
Contributor Author

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@subtleGradient
Copy link
Contributor Author

blocked on Effect-TS/effect#5799

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