Слияние частей A и B этапа 2 (разрешены конфликты: задания, MCP-инструменты, формат ответа категоризации)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -164,7 +164,7 @@ async function resolveVendor(pool: Pool, name: string | null): Promise<{ id: str
|
||||
return { id: null, problem: `вендор «${name}» не найден в QuickBooks` };
|
||||
}
|
||||
|
||||
async function resolveProject(pool: Pool, object: string | null): Promise<{ id: string | null; problem?: string }> {
|
||||
export async function resolveProject(pool: Pool, object: string | null): Promise<{ id: string | null; problem?: string }> {
|
||||
if (!object) return { id: null, problem: "проект неясен: в инвойсе нет названия объекта или адреса" };
|
||||
const want = normalizeAddress(object);
|
||||
const wantKey = addressKey(object);
|
||||
|
||||
Reference in New Issue
Block a user