Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Vignesh141099 opened this issue May 15, 2024 · 1 comment
Open

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

Vignesh141099 opened this issue May 15, 2024 · 1 comment

Comments

@Vignesh141099
Copy link

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
Copy link
Contributor

liqul commented May 15, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants