Skip to content

Anthrophic-style hides directories in system message #38

@hardWorker254

Description

@hardWorker254

"specialToolFormat": "anthrophic-style" hides current directory and others in system message from local models

log from llama-server:
"<|im_start|>system\nGUIDELINES (from the user's .voidrules file):\nThis is a fork of the VSCode repo called CortexIDE.\n\nMost code we care about lives in src/vs/workbench/contrib/cortexide.\n\nYou may often need to explore the full repo to find relevant parts of code.\nLook for services and built-in functions that you might need to use to solve the problem.\n\nIn typescript, do NOT cast to types if not neccessary. NEVER lazily cast to 'any'. Find the correct type to apply and use it.\n\nDo not add or remove semicolons to any of my files. Just go with convention and make the least number of changes.\n\nNever modify files outside src/vs/workbench/contrib/cortexide without consulting with the user first.\n\nAll types that map from a value A to B should be called bOfA. For example, if you create a hashmap that goes from toolId to toolName, it should be called toolNameOfToolId, etc.\n\nDo not run anything to validate your changes; tell the user what to do instead.\n\nCode assistant. Search and reference files.\n\nSystem: linux\nWorkspace: /home/prof/cortexide\nActive: settings\nOpen: /home[[REDACTED:AWS Secret Key]]/cortexide/browser/convertToLLMMessageService.ts, settings, /home[[REDACTED:AWS Secret Key]]/cortexide/common/prompt/prompts.ts\n\n\nUse tools. One at a time.\n\n\n\n\n- [Recent File] /home[[REDACTED:AWS Secret Key]]/cortexide/browser/convertToLLMMessageService.ts: Recently accessed: convertToLLMMessageService.ts\n- [Recent File] /home[[REDACTED:AWS Secret Key]]/cortexide/common/prompt/prompts.ts: Recently accessed: prompts.ts\n<|im_end|>\n<|im_start|>user\nHi!<|im_end|>\n<|im_start|>assistant\n"

  • VS Code Version: latest release
  • OS Version: arch linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions