Let $X$ a smooth projective geometrically connected curve over a finite field $k$. Let $J$ a smooth commutative group scheme over $X$ and $F$ the function field of $X$.

Do we have a formula to compute $H^{1}(k,J(\mathbb{A})/J(F))$ where $\mathbb{A}$ is the ring of adeles?