Results 849 comments of LangChain4j

@jacksonhu which LLM are you using? As I've commented, this seems to be a misuse of tools (`@Tool` in LC4j), so I am not sure it is a good idea...

@daixi98 please note that many of the endpoints were implemented by @stephanj [here](https://github.com/stephanj/langchain4j-cohere/blob/master/src/main/java/dev/langchain4j/model/cohere/CohereApi.java) and will be migrated to the main repo soon. This PR is about [chat enadpoint](https://docs.cohere.com/reference/chat).

@juinjonn, a few questions: 1. Could you please provide a few examples (questions and tools) of how this will be used? 2. How do you expect to get the tool...

Hi @juinjonn, thank you for detailed explanation! 1. This makes sense! I am wondering if for this use case if would be beneficial to create a new class or maybe...

> I think your solution is excellent and can satisfy this case. However, there is one issue: in such scenarios, the focus is more on the tool’s results. If the...

> It seems more reasonable to configure this on the @tool annotation. This way, for a single AiService, its tools can let the user control which tools need to be...

@jacksonhu I am not sure I fully understand. Let's imagine LLM decides to call 2 tools, result of the first one should be returned directly, result of the second one...

@juinjonn please feel free to open the PR! Or perharps @jacksonhu could adjust this PR? Do we agree on the following solution? - Add `returnDirectly` attribute to the `@Tool` annotation...