Skip to content

Commit b14a512

Browse files
committed
Lower limit for patch validation content length
To not hit limits with models.
1 parent f1ba048 commit b14a512

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beeai/agents/tools/patch_validator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from beeai_framework.emitter import Emitter
99
from beeai_framework.tools import JSONToolOutput, Tool, ToolRunOptions
1010

11-
MAX_CONTENT_LENGTH = 10000
11+
MAX_CONTENT_LENGTH = 2000
1212

1313
class PatchValidatorInput(BaseModel):
1414
url: str = Field(description="URL to validate as a patch/commit")

0 commit comments

Comments
 (0)