Update src/api/agent.py
Browse files292 unmodified lines293294295296297298299300301292 unmodified lines)DUAL_RESOURCE_RE = re.compile(r"\b(articles?.{0,30}(and|as well as|plus).{0,30}books?"r"|books?.{0,30}(and|as well as|plus).{0,30}articles?"r"|papers?.{0,30}(and|as well as|plus).{0,30}textbooks?"r"|textbooks?.{0,30}(and|as well as|plus).{0,30}papers?"r"|(literature review|articles?).{0,50}(background|textbook|introductory book)"r"|(textbook|book).{0,50}(literature review|research articles?))\b",292 unmodified lines293294295296297298299292 unmodified lines)DUAL_RESOURCE_RE = re.compile(r"\b(papers?.{0,30}(and|as well as|plus).{0,30}textbooks?"r"|textbooks?.{0,30}(and|as well as|plus).{0,30}papers?"r"|(literature review|articles?).{0,50}(background|textbook|introductory book)"r"|(textbook|book).{0,50}(literature review|research articles?))\b",
src/api/agent.py+1-3