So I was experimenting with continued fractions and came up with an idea for a function $$f(x) =1+\cfrac{1}{x+\cfrac{1}{x+\cfrac{1}{x+\cfrac{1}{x+\cfrac{1}{x+\cfrac{1}{x+\dots}}}}}},$$ as an infinite continued fraction. I already know some of the values like $f(1)=\phi$ (the golden ratio), and $f(2)=\sqrt{2}$, so I know it would be bounded. And I made an approximation using Desmos:

But it can't be graphed exactly since it's infinite. But I was wondering, is there a function that exists for this? Does it even matter? What would the exact function look like?
Though you've found the formula yourself, I feel like it's still worthwhile to understand where it comes from. Let your $f(x)=[1;x,x,x,x,\ldots]$ and let's define $\mathcal{F}(x)=[x;x,x,x,x,\ldots]$. Then obviously $f(x)=(1-x)+\mathcal{F}(x)$, since the only difference between them is the 'constant' term. But we also have $\mathcal{F}(x)=x+\dfrac1{\mathcal{F}(x)}$, and multiplying by $\mathcal{F}(x)$ on both sides we get $\mathcal{F}(x)^2-x\mathcal{F}(x)-1=0$. But this is just a quadratic equation in $\mathcal{F}$ that we can solve to get $\mathcal{F}(x)=\frac12(x\pm\sqrt{x^2+4})$; it's easy to see that the root here must be positive (and not too hard to see that the continued fraction $[x;x,x,x,x,\ldots]$ converges for all $x\gt 0$); plugging this into the equation for $f()$ gives $f(x)=1-x+\frac12(x+\sqrt{x^2+4})$, which matches the formula that you gave.