open-webui / open-webui/computer

bug: script in skills not run in subsequent same-chat interactions

Open
#218 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
569
Forks
79
PR merge metrics
No merged PRs in 30d

Description

Description

I have an instance of computer running with AzureOpenAI connection to an LLM. Skills to produce an artifact (e.g. .docx file) are provided as a set of markdown files like:

.agents/skills/SKILL.md # <-- here references to the references/*.md + check_delivery.py
.agents/skills/references/artifact-delivery.md
.agents/skills/check_delivery.py

The script check_delivery.py is referenced in SKILL.md and everywhere else in the prompt files within .agents/skills/references because I wanna be sure it is executed anytime the artifact is completed.

The observed behaviour is that the correct workflow is executed at the first chat interaction e.g. "produce a word document with this text ...". In a subsequent message, e.g. "refine the chapter ... in the previously generated docx" it fails to execute check_delivery.py.

Steps to reproduce
  • Connect computer to an LLM
  • Write a skill that references a script to be executed at the end of the workflow
  • Store skills (markdown + script) in .agents/skills
  • Start a conversation that makes the agent use the skill and the script
  • Iterate with a second message in the same chat
  • Check if the script is run
Suggested behavior
  • The second interaction should follow the same workflow as the first one thus having the script run at the end both times.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the skill workflow described in .agents/skills/SKILL.md and the referenced .agents/skills/check_delivery.py, then compare execution during the first and subsequent messages in one chat. Done means the referenced script runs at the end of the workflow for both the initial request and a refinement request.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, python
Domain
ai
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.