Skip to content

Conversation

@google-labs-jules
Copy link
Contributor

This submission fixes a critical serialization crash when using Vercel AI models and corrects a UI text formatting issue on the main menu. It also improves repository hygiene by removing build artifacts and updating the .gitignore file.


PR created automatically by Jules for task 5465693594977124180 started by @Android-PowerUser

This commit addresses two issues:

1.  **Vercel Serialization Crash:** Resolves a `SerializationException` that occurred when using Vercel models. The crash was caused by a name conflict between the `@JsonClassDiscriminator("type")` and the properties within the `VercelTextContent` and `VercelImageContent` data classes. The fix involves renaming the conflicting properties in the Kotlin data classes to `content` while using the `@SerialName` annotation to maintain the correct JSON field names ("text" and "image_url") required by the Vercel API.

2.  **UI Text Formatting:** Corrects a text formatting error on the main menu screen (`MenuScreen.kt`). Escaped newline characters (`\\n`) were being rendered literally. The fix replaces them with the correct newline character (`\n`) to ensure proper line breaks.

Additionally, this commit includes repository maintenance by removing build artifacts from version control and adding `*.idsig` to `.gitignore`.
@google-labs-jules
Copy link
Contributor Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

Updated instructions for app submission and SDK installation.
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