Skip to content

Conversation

@devin-ai-integration
Copy link
Contributor

@devin-ai-integration devin-ai-integration bot commented Jan 28, 2025

Allow gen_ai.request.seed to accept both string and integer types

Changes

  • Updated gen_ai.request.seed to accept both string and integer types
  • Modified code generation to use Pydantic v2 syntax with model_config = ConfigDict
  • Generated updated Python models with new syntax and type definitions
  • Maintains backwards compatibility

Testing

  • Verified type flexibility in schema generation
  • Confirmed generated models use new Pydantic v2 syntax
  • No breaking changes introduced

Fixes #386

Link to Devin run: https://app.devin.ai/sessions/630ce804878a4274abaea9f35dcb45e7

@devin-ai-integration
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add "(aside)" to your comment to have me ignore it.
  • Look at CI failures and help fix them

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@alizenhom alizenhom merged commit a8d7b16 into main Jan 28, 2025
@alizenhom alizenhom deleted the devin/1738072036-update-seed-type branch January 28, 2025 14:17
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.

4 participants