unrelated to the above: my current setup (perhaps...
# proj-agent
n
unrelated to the above: my current setup (perhaps I'm doing it wrong?) mounts a durable volume inside the runtime as /workspace repos get cloned into here by the runtime to start work on a thing.... however, "context root" stays as /workspace, which manifests as some wobbly within OH's UI ... This coincides with some interesting expectations of, for example, the
glab
cli tool, which behaves a metricfuckton™️ better when, as part of the
REPO_IN_QUESTION/.openhands/setup.sh
script, I set environment variables which tell the agent what its
group namespace
is, and what "THIS PROJECT" is IE:
Copy code
export GITLAB_REPO=diagram-o-rama
export GITLAB_GROUP=wpl_synthetic/Projects/Adaptations
for the glab tool, this clues the tool to target this repo as the project to use for context when looking at pipelines, or issues, or other attributes that COULD apply to THIS repo, or its' upstream (if this were a forked or mirrored project); which ALL the projects I have OH working on are.... ((I have given OH its' own group namespace within my gitlab rig, and I fork projects I wish to have it work on into that namespace ...))
glab
, by default, wants to target the upstream project, which.... is somewhat unhelpful to me in this context..... but this is tangental to my point ... When I open up the UI in OH.... '`/workspace`' is the contextual root. VScode opens to
/workspace
and wants to remain there.... the 'code changes' pane often is scoped to
/workspace
, and as such, often doesn't really provide as much valuable insight as it could (when changes are shown at all) .... I have yet to ever use the browser pane in the webui (I'd be really curious to see how y'all use it.) I've not really seen how to interact with the jupyter face (alho I've seen code displayed there when the agent is doing stuff on occasion) all of this is the long wind up to: I'm wondering if there's merit to the idea of creating a
blob-o-context
that describes "WHAT_THE_F@#K_I_AM_TRYING_TO_DO_RIGHT_NOW" with a bunch of kv pairs of metadata representing the 'context root' for all things task-oriented that openhands does.... that's decoupled from runtime config/state ... This seems to sorta be what a conversation is... but not quite... hence the question... The idea being to have a cleaner demark for the different pieces you're trying to integrate.... it's a little more work from each perspective's end to push 'project-working-root' , 'context length' 'model' 'user' 'email' 'documentation' 'tools' 'secret-key-ids-relevant-to-this-work' etc etc etc to a common location, rather than just doing the needful, and having other tools figure-it-out-if-they-care .... but it's also a lot cleaner from the 'collecting the current state' as $rando-tool ... as there's one, consistent place to check for 'wait, wtf am I doing?' ... as opposed to trying to figure-it-out-behind-the-scenes .... which CAN work but gets a bit overcomplicated as time goes on