Skip to content

[Bug]: ckg not working, it will be never initialized where using doubao 1.6 to search function #354

Description

@dozysun

What happened?

ckg not working, it will be never initialized where using doubao 1.6 to search function. we use trae-agent and doubao to extract function call stack, usually doubao will pass a file path not a directory path to the path parameter , because the path parameter's description is ambiguous, but if not pass a directory the ckg will not working and return error

Image Image

What did you expect to happen?

after we change the path description and add a optional parameter file_path to allow llm pass a specified file to search, it worked well

Image

Additionally, I have another question: why doesn't CKG support Go language search, given that tree-sitter itself supports it and the bytedance uses so much Go language?

Traceback

No response

What is your system, Python, dependency version?

  • OS: mac
  • Python: 3.12
  • version: main

Additional information that you believe is relevant to this bug

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions