Status Update
Comments
jl...@google.com <jl...@google.com>
se...@google.com <se...@google.com> #2
In order to diagnose this I think we will need more information.
Can you clarify if this happens for a new Native C++ project without any changes to it? Would it be possible for you to share an Android Studio project where you see this issue?
Can you please also share the log files as requested in the instructions in
bl...@google.com <bl...@google.com> #3
java.lang.IllegalStateException: Files were included despite context-sharing being disabled
at com.android.studio.ml.bot.BotModel.makePrompt(BotModel.kt:269)
at com.android.studio.ml.bot.BotModelImpl.converseAndPersist$suspendImpl(BotModel.kt:450)
at com.android.studio.ml.bot.BotModelImpl.converseAndPersist(BotModel.kt)
at com.android.studio.ml.bot.ui.compose.timeline.QuerySubmitterImpl.submitUserQuery(QuerySubmitter.kt:67)
at com.android.studio.ml.bot.ui.compose.timeline.ComposeTimelineControllerImpl$submitUserQuery$1.invokeSuspend(ComposeTimelineController.kt:504)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:608)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:873)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:763)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:750)
vs...@google.com <vs...@google.com> #4
Hi - Could you provide some more details on what your first question was? Was it something using the prompt library that tried to include a file? Or was it a question you typed yourself?
ro...@gmail.com <ro...@gmail.com> #5
It was a question I wrote myself. The only remedy I found was to restart AS.
vs...@google.com <vs...@google.com> #6
That is very odd, that should not happen at all.
- In your settings for Gemini, do you have it configured to share context from your project? Were you changing this at any point?
- Is this issue still reproducible?
bl...@google.com <bl...@google.com> #7
Apologies for not responding properly to this bug. There was a bug in Canary 5 that meant the context sharing setting wasn't being properly checked for some queries. For users with context sharing disabled, this causes the chat to crash when it tries to verify that no context was used for the query being sent, causing the exception above. This is a fallback in place to make sure that even if the context sharing setting isn't properly checked beforehand, the chat will crash instead of sending the query to the backend. This has been fixed in Canary 6 and we're taking time to make sure a bug like this doesn't happen again. Thank you very much for the report and your patience!
ro...@gmail.com <ro...@gmail.com> #8
Oh, no hars...
...yes, as you mention, it was in C5 I was experiencing this issue.
Not sure I have used Gemini in C6 yet.
Description
####################################################
Please provide all of the following information, otherwise we may not be able to route your bug report.
####################################################
1. Describe the bug or issue that you're seeing.
Gemini goes unresponsive after first question
She doesn't respond to subsequent questions. You can restart AS, then she can answer next, and so on...
Attaching logs, if it helps.
2. Attach log files from Android Studio
2A. In the IDE, select the Help..Collect Logs and Diagnostic Data menu option.
2B. Create a diagnostic report and save it to your local computer.
2C. Attach the report to this bug using the Add attachments button.
3. If you know what they are, write the steps to reproduce:
3A.
3B.
3C.
In addition to logs, please attach a screenshot or recording that illustrates the problem.
For more information on how to get your bug routed quickly, see
Build: AI-243.23654.117.2432.13058383, 202502130928
AS: Meerkat Feature Drop | 2024.3.2 Canary 5
AI-243.23654.117.2432.13058383, JRE 21.0.5+-13047016-b750.29x64 JetBrains s.r.o., OS Windows 11(amd64) v10.0 , screens 1920x1080 (100%), 1920x1080 (100%), 1920x1080 (100%)
Android Gradle Plugin: 8.10.0-alpha05
Gradle: 8.13
Gradle JDK: JetBrains Runtime 21.0.5
NDK: from local.properties: (not specified), latest from SDK: 28.0.13004108
CMake: from local.properties: (not specified), latest from SDK: 3.31.5, from PATH: (not found)
Source: send_feedback_icon```