fix: omit default temperature for custom models (#3301)
## Summary
- Avoid sending a fallback temperature of 0 for custom models unless the
custom model has an explicit temperature configured.
- Add unit coverage for custom-model temperature handling and non-custom
fallback behavior.
- Document that new git worktrees need their own npm install before
development.
## Tests
- Not run in this metadata-only update; existing PR changes add Vitest
coverage in src/__tests__/token_utils.test.ts.
<!-- devin-review-badge-begin -->
---
<a href="https://app.devin.ai/review/dyad-sh/dyad/pull/3301"
target="_blank">
<picture>
<source media="(prefers-color-scheme: dark)"
srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1">
<img
src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1"
alt="Open in Devin Review">
</picture>
</a>
<!-- devin-review-badge-end -->
正在显示
src/__tests__/token_utils.test.ts
0 → 100644
请
注册
或者
登录
后发表评论