PR content:

  1. re-implement ZhiPu function call to support AbstractToolCallSupport
  2. function call unit tests

related issue: https://github.com/spring-projects/spring-ai/issues/1078

Comment From: markpollack

Hi @mxsl-gr can you please send me an updated api key by email,the previous one you sent now gives this error

org.springframework.web.reactive.function.client.WebClientResponseException$Unauthorized: 401 Unauthorized from POST https://open.bigmodel.cn/api/paas/v4/chat/completions

    at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:308)

Comment From: mxsl-gr

Hi @mxsl-gr can you please send me an updated api key by email,the previous one you sent now gives this error

``` org.springframework.web.reactive.function.client.WebClientResponseException$Unauthorized: 401 Unauthorized from POST https://open.bigmodel.cn/api/paas/v4/chat/completions

at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:308) ```

hi, @markpollack , i have checked the key and run the unit test with it, key should still be valid, maybe there are other problems. i sent it again by email, please try it again ❤️

Comment From: markpollack

sorry for the delay and thanks for the key again, turns out I had a typo in an environment variable.

All tests pass, great!

Merged in 935e1a38eda33a6d954901a63e1aab13b4c74d3d