(w io.Writer, cs *iostreams.ColorScheme, name string)
| 485 | } |
| 486 | |
| 487 | func renderGenericToolCall(w io.Writer, cs *iostreams.ColorScheme, name string) { |
| 488 | toolName, ok := genericToolCallNamesToTitles[name] |
| 489 | if !ok { |
| 490 | toolName = fmt.Sprintf("Call to %s", name) |
| 491 | } |
| 492 | |
| 493 | renderToolCallTitle(w, cs, toolName, "") |
| 494 | } |
| 495 | |
| 496 | type chatCompletionChunkEntry struct { |
| 497 | ID string `json:"id"` |
no test coverage detected