This might be the outlier of any of the advice here, but why not?
Work on your pentatonic vocabulary.
Understand that you don't need to use the G pentatonic anything just because you are in the key of G whatever.
Most popular (not all) music is in a static key center.
This doesn't mean you have to 'solo' in that key, or that you have to stay in a key during the solo.
Try soloing using the Eb major pentatonic (or even a C blues scale) over a tune in

G MAJOR

but just for one bar.
Yea, you got some sour notes in there but what else? Interesting, inspiring colors as you went,

OUTSIDE

. Now this will sound amateurish if you just kind of beam in and out to the alien world without connection, but lets say you slide into the C blues scale (Try from a B, the major 3rd of G up to the C) rip a killer blues lick that resolves back to the G major (Try that B again. Coming up to it from the Bb, the 7th of the C blues scale)
Similar if you wanted to use the Eb major pentatonic (yea I know it's related but it's also different) You might transition from D (the 5th of G) up to Eb (here I would usually try to exploit the Bb in Eb major BECAUSE it grinds against B, the major 3rd of G because I'm a jerk

) and then any resolution will sound nice back to G as it's the 3rd of Eb major.
So, the idea isn't to play outside all the time, as that sounds a lame as playing inside all the time, but to seamlessly slide between different colored worlds back into normalcy. This is how a solo (and music) breathes. Expressions of tension between different major and minor key centers.
Adding chord changes to this concept one might think it would become complicated, but it actually makes it easier to plot your moves. You can step pretty far if there is a dominant chord and function moving beneath your feet, making landing almost anywhere 'in key' satisfying.
Try that C blues lick over the V chord
| Amin7 | *D7* | Gmaj7 |
Also, high grade Ethiopian coffee and bong hits will allow you to write gibberish like this in merely a few minutes. I should have stopped at 'Work on your pentatonic vocabulary....'