-
Notifications
You must be signed in to change notification settings - Fork 89
New Workspace release! #721
-
Overview
Workspaces in CodeGate allow you to organize and customize your interactions with large language models (LLMs). Each workspace is a distinct environment with its own configurations and resources, enabling personalized settings and efficient management of different projects or tasks.
Key features
- Custom configurations: Each workspace can have its own settings and custom instructions for interacting with LLMs, enabling tailored responses and behaviors.
- Resource management: Workspaces act as containers for organizing resources within CodeGate, making it easier to manage and switch between different projects.
- Isolation and independence: Configurations in one workspace do not affect others, providing clarity and precision in how settings are applied.
Working with Workspaces
You can manage workspaces using codegate workspace
commands sent through your AI assistant's chat interface. To see all available commands:
codegate workspace -h
Create a workspace
To create a new workspace:
codegate workspace add WORKSPACE_NAME
Replace WORKSPACE_NAME
with a name for the new workspace. Names can only contain alphanumeric characters, hyphens (-
), and underscores (_
).
List workspaces
Get a list of all non-archived workspaces:
codegate workspace list
The currently active workspace is indicated as (active) in the list.
Activate a workspace
Switch between workspaces using the activate
command. The active workspace is the current environment for commands and configuration.
codegate workspace activate WORKSPACE_NAME
Add additional Custom Instructions to the LLM
One of the key advantages of workspaces is the ability to add custom instructions with extra project-specific context or instructions.
codegate custom-instructions [-w WORKSPACE_NAME] set INSTRUCTIONS
Replace INSTRUCTIONS
with your custom instructions text.
Optionally, specify the workspace to modify with -w WORKSPACE_NAME
. If you don't explicitly set a workspace, the currently active workspace is modified.
Example: Set custom instructions for the workspace named "project-alpha":
codegate custom-instructions -w project-alpha set Start each conversation with "Welcome to Project Alpha Assistant. How can I help today?"
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1 -
🚀 3