Skip to content

feat: changed Dockerfile to handle hermes in gateway mode#22

Merged
CastFX merged 9 commits into
mainfrom
hermes-working-in-gateway-mode
May 27, 2026
Merged

feat: changed Dockerfile to handle hermes in gateway mode#22
CastFX merged 9 commits into
mainfrom
hermes-working-in-gateway-mode

Conversation

@lbenzoni
Copy link
Copy Markdown
Contributor

No description provided.

@lbenzoni lbenzoni requested a review from CastFX May 25, 2026 14:26
@CastFX CastFX marked this pull request as ready for review May 27, 2026 12:30
# notice into the first conversation it sees. The Domyn worker is already
# bound to one channel, so we just point the home target at it — cron
# results and broadcasts go back to the same channel.
DOMYN_HOME_CHANNEL=${DOMYN_CHANNEL_ID}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we move this things as defaults in the plugin instead of allowing the user to mess up with them?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wait how can we default domyn-channel-id?

# so we typically delegate fully and accept any author arriving on the
# subscribed channel. Without this, unknown users get a pairing prompt:
# "Hi~ I don't recognize you yet! Here's your pairing code: …"
DOMYN_ALLOW_ALL_USERS=true
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this ties back to the comments I made here.
https://github.com/igeniusai/domyn-agents/pull/387/changes
But also about this, do we really want the developer to set this? What is the expected journey for the dev?

# in a daemon thread, and AGENT_START events injected from the platform
# drive the conversation.
CMD ["hermes", "chat"]
RUN pip install --no-cache-dir wheels/domyn_agents-*.whl langchain-core
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does hermes require langchain? I am surprised

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's because of a dependency in domyn expose, i was planning to remove it after the domyn expose PR from gabriele was merged, to avoid useless merge conflicts

# status message — disruptive in a chat UI. "queue" silently FIFO-s
# the new message behind the current one; nothing visible until the
# current turn completes. "steer" injects as additional context.
busy_input_mode: queue
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this will conflict with stopping executions in flight, but we'll make some tests after merging this and rebasing the stop stuff

@carbonaroa-igenius
Copy link
Copy Markdown
Contributor

Approved but about the authentication part I would like to understand more what you are expecting as a standard flow, so we might want to wait to close that discussion to merge if we want to change anything

@CastFX CastFX merged commit b055c72 into main May 27, 2026
@carbonaroa-igenius carbonaroa-igenius deleted the hermes-working-in-gateway-mode branch May 28, 2026 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants