Skip to content

UI - Changing workspace from UI does not take effect #579

@sangee2004

Description

@sangee2004

gptscript version - v0.0.0-dev-51fd2b32-dirty

Steps to reproduce the problem

  1. Get k8s docs made available in local directory using git clone https://github.com/kubernetes/website.git
  2. Run the following script to launch knowledge chat agent without workspace option - gptscript --ui --disable-cache knowledge_remote.gpt
tools: github.com/gptscript-ai/knowledge
context: github.com/gptscript-ai/context/workspace
chat: true

You are a helpful assistant that can retrieve information and answer questions using your tools. When you strat just introduce yourself and wait for the user to prompt you. 
You must use the knowledge tool to look up answers to your questions. Do NOT use the read tool. You may only answer questions with information you retrieve from the knowledge tool.
When you give answers, always give a proper citation to the best of your abilities.
  1. Used UI to set workspace parameter (edit existing value seen for workspace) and set it to k8s doc directory from step1 . This resulted in UI prompting to restart the script and allow for this operartion.
  2. Once script is loaded , tool calls made still continue to use the default workspace that was presented to me initially and I dont get any results for queries relating to k8s.
Screenshot 2024-06-27 at 1 55 49 PM Screenshot 2024-06-27 at 1 56 12 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    UIIssues relating to "--ui" optionbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions