(entries: readonly T[])
| 125 | ] as const |
| 126 | |
| 127 | function sortByName<T extends { name: string }>(entries: readonly T[]): T[] { |
| 128 | return [...entries].sort((a, b) => a.name.localeCompare(b.name)) |
| 129 | } |
| 130 | |
| 131 | function toModelToolSurfaceEntry(tool: ToolLike): ModelToolSurfaceEntry { |
| 132 | return { |
no outgoing calls
no test coverage detected