Xin Wang

Results 23 comments of Xin Wang

`System.getenv(ANDROID_HOME)` will return `null` in Windows OS even if user specified the value. It dosen't works unless restarting the machine.

Thanks @dan-blanchard I'd love to hear from pyleus contributors.

cc @HeartSaVioR You might be interested in this improvement.

@HeartSaVioR Agree with you. We should have a discussion about multi-lang support. (Can open a thread on dev@ mailing list)

Overall looks good to me. Thanks @dlg99 for the great job. And do you have any updates for @agresch and @bipinprasad comments?

I also didn't do this before. pre-commit looks like a good candidate.

@Alima777 Thanks for your contribution, I will have a review this month.

In `dev.langchain4j.service.AiServiceStreamingResponseHandler#execute`: The `toolExecutor` may be a `null` due to LLM hallucination, this would cause a NPE error. After support ToolHallucinationStrategy for streaming mode, the default strategy `HallucinatedToolNameStrategy.THROW_EXCEPTION` will **interrupt**...

Regarding testing, due to the uncertainty of the LLM hallucination, I conducted verification locally, and all works well. ``` OllamaStreamingChatModel model = OllamaStreamingChatModel.builder() .baseUrl("http://127.0.0.1:11434") .modelName("qwen3:8b") .temperature(0.8) .logRequests(true) .build(); Assistant assistant...

@mariofusco Sure, I will add mock tests ASAP.