I'm guessing that folks probably don't have enough information from your post to properly troubleshoot your issue. The quality and perspective of source imagery will significantly impact edge definition in orthomosaics, for example. How you define the orthomosaic plane is also critical (e.g., coordinate-based for a geographic projection, XY or marker-defined planes for a planar projection, etc.).
If I were in your shoes, my first steps would be to display seamlines, evaluate the source imagery associated with the troublesome areas (right-click on the area and select open image), and try to assign new images to troublesome areas. Have you attempted those steps? If not, this is a good resource:
https://agisoft.freshdesk.com/support/solutions/articles/31000148853-orthomosaic-seamline-editing-patching-. Note that you have to click the "update orthomosaic" button for assigned image edits to take effect.
If you find that there is a group of images that are causing issues, you can draw a polygon around the entire troublesome area, right-click, select assign images to generate a new dialog window, check boxes for "allow multiple selection" and "exclude selected images," select the entire subset of poor images, then update the orthomosaic. This allows for new seamlines to be defined within the polygon area, and the ortho-corrected image generation will obviously exclude the images you designated.
If none of that works, then you might want to review your source imagery or the quality of the DEM/mesh (at the edges in question) referenced to create the orthomosaic. I've never tried this, but I imagine that you could also clean up mesh geometry at the edge to improve the display of ortho-corrected images (for an orthomosaic generated from mesh surfaces, that is).