Skip to content

[bug] Every client generated has doc that is not relevant #3082

@debasisdwivedy

Description

@debasisdwivedy

Product

BAML

Describe the bug

Below is the doc string created when we run baml-cli generate for python:

# ----------------------------------------------------------------------------
#
#  Welcome to Baml! To use this generated code, please run the following:
#
#  $ pip install baml
#
# ----------------------------------------------------------------------------

# This file was generated by BAML: please do not edit it. Instead, edit the
# BAML files and re-generate this code using: baml-cli generate
# baml-cli is available with the baml package.

I dont think the doc string generated is correct.

# ----------------------------------------------------------------------------
#
#  Welcome to Baml! To use this generated code, please run the following:
#
#  $ pip install baml
#
# ----------------------------------------------------------------------------

The same has to be tested for the doc strings in other languages as TS,GO etc

Reproduction Steps

run baml-cli generate

BAML Version

0.218.1

Language/Framework

Python

LLM Provider

None

LLM Model

No response

Operating System

macOS

Browser

None

Code Editor

VS Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions