* chore: format files using prettier * chore: api server files formatted
* fix: enhance URL detection logic in contains_url function * fix: improve error handling in URL detection logic * fix: enhance URL detection logic with length limits and edge case handling * fix: adjust URL line length limit for improved detection accuracy