mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-11 13:24:55 +01:00
fix: address Hermes adapter review feedback
This commit is contained in:
1 parent
1583a2d65a
commit
582f4ceaf4
5 files changed
+12
-8
No files matched your search
@@ -227,7 +227,7 @@ export function listServerAdapters(): ServerAdapterModule[] {
|
||||
|
||||
export async function detectAdapterModel(
|
||||
type: string,
|
||||
): Promise<{ model: string | null; provider: string | null; source: string | null } | null> {
|
||||
): Promise<{ model: string; provider: string; source: string } | null> {
|
||||
const adapter = adaptersByType.get(type);
|
||||
if (!adapter?.detectModel) return null;
|
||||
const detected = await adapter.detectModel();
|
||||
|
||||
Reference in new issue
Block a user