{
"event": "PreToolUse",
"tool_name": "Grep",
"tool_input": {
"pattern": "MAX_EMBED|max.*char",
"path": "\/var\/www\/scripts\/pipeline",
"output_mode": "content",
"-i": true
}
}
{
"tool_response": {
"mode": "content",
"numFiles": 0,
"filenames": [],
"content": "scripts\/pipeline\/venv\/lib\/python3.13\/site-packages\/xlsxwriter\/worksheet.py:1248: # is written using the write_string() method. Therefore the max characters\nscripts\/pipeline\/venv\/lib\/python3.13\/site-packages\/xlsxwriter\/worksheet.py:2080: # Convert the autofit maximum pixel width to a column\/character width,\nscripts\/pipeline\/venv\/lib\/python3.13\/site-packages\/pydantic\/networks.py:1307: {'reason': f'Length must not exceed {MAX_EMAIL_LENGTH} characters'},\nscripts\/pipeline\/venv\/lib\/python3.13\/site-packages\/numpy\/_core\/include\/numpy\/npy_common.h:446:#define NPY_MAX_BYTE SCHAR_MAX\nscripts\/pipeline\/venv\/lib\/python3.13\/site-packages\/numpy\/_core\/include\/numpy\/npy_common.h:448:#define NPY_MAX_UBYTE UCHAR_MAX\nscripts\/pipeline\/venv\/lib\/python3.13\/site-packages\/numpy\/_core\/tests\/test_numerictypes.py:8:from numpy._core.numerictypes import issctype, maximum_sctype, sctype2char, sctypes\nscripts\/pipeline\/venv\/lib\/python3.13\/site-packages\/numpy\/lib\/_npyio_impl.py:1122: ndmin=0, encoding=None, max_rows=None, *, quotechar=None,\nscripts\/pipeline\/venv\/lib\/python3.13\/site-packages\/numpy\/lib\/_npyio_impl.py:1387: max_rows=max_rows, quote=quotechar)\nscripts\/pipeline\/venv\/lib\/python3.13\/site-packages\/numpy\/lib\/_npyio_impl.py:1474: - For ``s``, the maximum number of characters.\nscripts\/pipeline\/venv\/lib\/python3.13\/site-packages\/lxml\/includes\/extlibs\/zlib.h:1054: If name is not Z_NULL, then up to name_max characters are written there,\nscripts\/pipeline\/venv\/lib\/python3.13\/site-packages\/lxml\/includes\/extlibs\/zlib.h:1056: comment is not Z_NULL, then up to comm_max characters are written there,\nscripts\/pipeline\/venv\/lib\/python3.13\/site-packages\/lxml\/parser.pxi:1090: if python.PyUnicode_MAX_CHAR_VALUE(utext) <= 127:\nscripts\/pipeline\/venv\/lib\/python3.13\/site-packages\/pip\/_vendor\/rich\/measure.py:12: \"\"\"Stores the minimum and maximum widths (in characters) required to render an object.\"\"\"\nscripts\/pipeline\/venv\/lib\/python3.13\/site-packages\/pip\/_vendor\/rich\/constrain.py:15: width (int, optional): The maximum width (in characters) to render. Defaults to 80.\nscripts\/pipeline\/venv\/lib\/python3.13\/site-packages\/pip\/_vendor\/rich\/text.py:870: max_width (int): Maximum number of characters in text.\nscripts\/pipeline\/venv\/lib\/python3.13\/site-packages\/pip\/_vendor\/rich\/text.py:1254: width (int): Maximum characters in a line.\nscripts\/pipeline\/venv\/lib\/python3.13\/site-packages\/qdrant_client\/http\/models\/models.py:3212: max_token_len: Optional[int] = Field(default=None, description=\"Maximum characters to be tokenized.\")\nscripts\/pipeline\/venv\/lib\/python3.13\/site-packages\/qdrant_client\/embed\/_inspection_cache.py:2590: \"description\": \"Maximum characters to be tokenized.\",\nscripts\/pipeline\/venv\/lib\/python3.13\/site-packages\/anthropic\/types\/beta\/beta_tool_text_editor_20250728_param.py:35: max_characters: Optional[int]\nscripts\/pipeline\/venv\/lib\/python3.13\/site-packages\/anthropic\/types\/beta\/beta_tool_text_editor_20250728_param.py:36: \"\"\"Maximum number of characters to display when viewing a file.\nscripts\/pipeline\/venv\/lib\/python3.13\/site-packages\/anthropic\/types\/tool_text_editor_20250728_param.py:25: max_characters: Optional[int]\nscripts\/pipeline\/venv\/lib\/python3.13\/site-packages\/anthropic\/types\/tool_text_editor_20250728_param.py:26: \"\"\"Maximum number of characters to display when viewing a file.\nscripts\/pipeline\/venv\/lib\/python3.13\/site-packages\/pymupdf\/mupdf-devel\/include\/mupdf\/fitz\/context.h:896:fz_context *fz_new_context_imp(const fz_alloc_context *alloc, const fz_locks_context *locks, size_t max_store, const char *version);\nscripts\/pipeline\/venv\/lib\/python3.13\/site-packages\/pymupdf\/mupdf-devel\/include\/mupdf\/classes.h:2309:\tFZ_FUNCTION FzContext(const FzAllocContext& alloc, const FzLocksContext& locks, size_t max_store, const char *version);\nscripts\/pipeline\/venv\/lib\/python3.13\/site-packages\/pymupdf\/mupdf-devel\/include\/mupdf\/functions.h:5008:FZ_FUNCTION ::fz_context *ll_fz_new_context_imp(const ::fz_alloc_context *alloc, const ::fz_locks_context *locks, size_t max_store, const char *version);\nscripts\/pipeline\/venv\/lib\/python3.13\/site-packages\/pymysql\/connections.py:894: \"<iIB23s\", self.client_flag, MAX_PACKET_LEN, charset_id, b\"\"\nscripts\/pipeline\/chat.py:42: max_chars = max_tokens * 4 # Rough estimate\nscripts\/pipeline\/chat.py:48: if total_chars + len(content) > max_chars:\nscripts\/pipeline\/config.py:49:EMBEDDING_MODEL = \"mxbai-embed-large\" # 1024-dim, max ~1600 chars per chunk\nscripts\/pipeline\/embed.py:15:# Max chars for mxbai-embed model (512 token context, varies by content)\nscripts\/pipeline\/embed.py:17:MAX_EMBED_CHARS = 800\nscripts\/pipeline\/embed.py:30: if len(text) > MAX_EMBED_CHARS:\nscripts\/pipeline\/embed.py:31: text = text[:MAX_EMBED_CHARS]",
"numLines": 33
}
}