mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-15 02:20:38 +09:00
fix: address Hermes adapter review feedback
This commit is contained in:
parent
1583a2d65a
commit
582f4ceaf4
5 changed files with 12 additions and 8 deletions
|
|
@ -677,7 +677,7 @@ export function agentRoutes(db: Db) {
|
|||
const type = req.params.type as string;
|
||||
|
||||
const detected = await detectAdapterModel(type);
|
||||
res.json(detected ?? { model: null, provider: null, source: null });
|
||||
res.json(detected);
|
||||
});
|
||||
|
||||
router.post(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue