depending on the type of partner you are and the type of partnership even though your capital account is negative you may have positive tax basis. if Part II item K1 shows ending liabilities some or all of these may be counted as part of your tax basis especially any qualified nonrecourse financing
for example
negative capita a/c (6,000)
qualified nonrecourse financing at end of year 15,000
tax basis is 9,000 however, at risk can be completely different because nonrecourse liabilities provide basis for distributions, but generally do not provide basis for purposes of the at-risk rules.
you can go do your own computations by using the partner capital worksheet in the 1065-K-1 instructions or consult a tax pro because which liabilities count depends on type of partnership and the type of partner you are
see this link for additional guidance
https://www.dbbllc.com/newsletters/focus-our-tax-e-newsletter/partnership-tax-rules-basis-partnershi...
https://www.irs.gov/pub/irs-pdf/i1065sk1.pdf