INNER CODE UNIT · JavaScript

routed

fengshao1227/ccg-workflow · dsh-ccg/src/index.js:262

  const routed = resolved.some((entry) => entry.members.length > 0)

  const lines = [
    anyPanel
      ? 'CCG delegation — specialised work goes to the role whose model and instructions fit it,'
        + '\nand a question worth being right about goes to several models at once.'
      : 'CCG delegation — specialised work goes to the role whose instructions fit it.',
    '',
    'Role tools (one child, the model that suits that work):',
  ]
  for (const entry of resolved) {
    const route = entry.members.length === 0
      ? 'deployment default model'
      : entry.members.length === 1
        ? `${entry.members[0].provider} / ${entry.members[0].model}`
        : `${entry.members.length} models at once: `
          + entry.members.map((member) => `${member.provider} / ${member.model}`).join(', ')
    const notes = []

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…