microsoft / TaskWeaver

A code-first agent framework for seamlessly planning and executing data analytics tasks.
https://microsoft.github.io/TaskWeaver/
MIT License
5.37k stars 688 forks source link

Couldn't able to change the port number. #346

Closed Vignesh141099 closed 4 months ago

Vignesh141099 commented 6 months ago

Describe the bug There is no file directory or file which is mentioned in this below import code: There is no function called start_web_service and no file called web.py inside taskweaver/chat/

''' from taskweaver.chat.web import start_web_service

if not debug:
    # debug mode will restart app iteratively, skip the plugin listing
    # display_enabled_examples_plugins()
    pass

def post_app_start():
    if open:
        click.secho("launching web browser...", fg="green")
        open_url = f"http://{'localhost' if host == '0.0.0.0' else host}:{port}"
        click.launch(open_url)

start_web_service(
    host,
    port,
    is_debug=debug,
    post_app_start=post_app_start if open else None,
)

Because of this we couldn't able to change the port. '''

liqul commented 6 months ago

This is not a valid entrance of the current project. Please follow our latest document to use this project.