(String[] args)
| 209 | } |
| 210 | |
| 211 | public static void main(String[] args) { |
| 212 | try { |
| 213 | streamCall(); |
| 214 | } catch (ApiException | NoApiKeyException | InputRequiredException e) { |
| 215 | System.out.println(e.getMessage()); |
| 216 | } |
| 217 | |
| 218 | // try { |
| 219 | // streamCallWithCallback(); |
| 220 | // } catch (ApiException | NoApiKeyException | InputRequiredException | InterruptedException e) { |
| 221 | // System.out.println(e.getMessage()); |
| 222 | // } |
| 223 | |
| 224 | // try { |
| 225 | // streamCallWithToolCalls(); |
| 226 | // } catch (ApiException | NoApiKeyException | InputRequiredException e) { |
| 227 | // System.out.println(e.getMessage()); |
| 228 | // } |
| 229 | |
| 230 | // try { |
| 231 | // streamCallWithReasoningContent(); |
| 232 | // } catch (ApiException | NoApiKeyException | InputRequiredException e) { |
| 233 | // System.out.println(e.getMessage()); |
| 234 | // } |
| 235 | |
| 236 | // try { |
| 237 | // streamCallWithSearchOptions(); |
| 238 | // } catch (ApiException | NoApiKeyException | InputRequiredException e) { |
| 239 | // System.out.println(e.getMessage()); |
| 240 | // } |
| 241 | |
| 242 | System.exit(0); |
| 243 | } |
| 244 | } |
nothing calls this directly
no test coverage detected