mirror of
https://github.com/geoffsee/open-gsio.git
synced 2025-09-08 22:56:46 +00:00
Refactor store exports and cleanup unused code.
Removed the centralized store export file to streamline dependencies and replaced indirect imports with direct ones for better maintainability. Additionally, eliminated unused views in `ClientChatStore` and commented out redundant code in the assistant SDK.
This commit is contained in:

committed by
Geoff Seemueller

parent
afd539a245
commit
d519534c7d
@@ -23,17 +23,17 @@ export class AssistantSdk {
|
||||
const now = new Date();
|
||||
const formattedMinutes = String(now.getMinutes()).padStart(2, "0");
|
||||
const currentTime = `${now.getHours()}:${formattedMinutes} ${now.getSeconds()}s`;
|
||||
const toolsInfo =
|
||||
tools
|
||||
.map((tool) => {
|
||||
switch (tool) {
|
||||
// case "user-attachments": return "### Attachments\nUser supplied attachments are normalized to text and will have this header (# Attachment:...) in the message.";
|
||||
// case "web-search": return "### Web Search\nResults are optionally available in 'Live Search'.";
|
||||
default:
|
||||
return `- ${tool}`;
|
||||
}
|
||||
})
|
||||
.join("\n\n") || "- No additional tools selected.";
|
||||
// const toolsInfo =
|
||||
// tools
|
||||
// .map((tool) => {
|
||||
// switch (tool) {
|
||||
// // case "user-attachments": return "### Attachments\nUser supplied attachments are normalized to text and will have this header (# Attachment:...) in the message.";
|
||||
// // case "web-search": return "### Web Search\nResults are optionally available in 'Live Search'.";
|
||||
// default:
|
||||
// return `- ${tool}`;
|
||||
// }
|
||||
// })
|
||||
// .join("\n\n") || "- No additional tools selected.";
|
||||
|
||||
return `# Assistant Knowledge
|
||||
## Current Context
|
||||
|
Reference in New Issue
Block a user