• Will Chen's avatar
    always use engine (#1525) · 4926a01a
    Will Chen 提交于
    <!-- CURSOR_SUMMARY -->
    > [!NOTE]
    > Always route Dyad Pro through the Dyad engine (no gateway), simplify
    logging/flags, and remove DYAD_GATEWAY usage and staging gateway script.
    > 
    > - **Engine/Model client (`src/ipc/utils/get_model_client.ts`)**:
    > - Always use `createDyadEngine` when Dyad Pro is enabled; remove
    gateway fallback and `DYAD_GATEWAY_URL` usage.
    > - Simplify logs to engine-only; drop conditional gateway/engine
    logging.
    > - Always set `isEngineEnabled: true`; pass `{ files }` to the provider
    unconditionally; strip `:free` from model names.
    > - **Scripts (`package.json`)**:
    >   - Remove `staging:gateway` script.
    > 
    > <sup>Written by [Cursor
    Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
    5fdbbb703c47de4623ceeb82e6678ace34dc268e. This will update automatically
    on new commits. Configure
    [here](https://cursor.com/dashboard?tab=bugbot).</sup>
    <!-- /CURSOR_SUMMARY -->
    4926a01a
名称
最后提交
最后更新
..
handlers 正在载入提交数据...
processors 正在载入提交数据...
shared 正在载入提交数据...
utils 正在载入提交数据...
ipc_client.ts 正在载入提交数据...
ipc_host.ts 正在载入提交数据...
ipc_types.ts 正在载入提交数据...