@JsonIgnore
	public <T> Mono<T> getFunctionResult() {
		if (toolCalls != null) {
			final FunctionCall functionCall = toolCalls.get(0).getFunction();
			if (functionCall.getFunctionStub() != null) {
				try {
					final Object result = functionCall.getFunctionStub().call();
					if (result != null) {
						if (result instanceof Mono) {
							return (Mono<T>) result;
						}
						else {
							return (Mono<T>) Mono.just(result);
						}
					}
				}
				catch (Exception e) {
					return Mono.error(e);
				}
			}
		}
		return Mono.empty();
	}
the name of the author of this message
src/main/java/org/mvnsearch/chatgpt/model/completion/chat/ChatMessage.java