INNER CODE UNIT · JavaScript

snapshot

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

    const snapshot = () => {
      const descriptor = settingsCtx.settings
        .describe()
        .find((entry) => entry.ns === SETTINGS_NAMESPACE)
      return {
        value: descriptor?.value ?? scope.get(),
        user: descriptor?.user,
        writable: true,
      }
    }

    // Serving the card's section is only meaningful where a browser can ask
    // for it; a headless deployment mounts no web server and skips this.
    // What the card's selectors offer: every model the harness can actually
    // route to. Read per request so a provider configured after boot appears
    // without a restart, and tolerant of an adapter that cannot answer.
    const catalog = async () => {
      const llm = settingsCtx.get('llm')

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…