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

Configure FastAPI schema for local access #108

Merged
merged 1 commit into from
Jul 9, 2023
Merged

Configure FastAPI schema for local access #108

merged 1 commit into from
Jul 9, 2023

Conversation

kreneskyp
Copy link
Owner

Description

For Agents to connect using the OpenAPI chain the server defined in the schema must include the docker host IP.

Changes

  • FastAPI app config now overrides default server in OpenAPI schema.

How Tested

  • manual testing

TODOs

For followup: There is ideally a better long term solution. At the very least the hostname needs to be configurable for production deploys where the containers wont be running in docker-compose.

@kreneskyp kreneskyp merged commit dbd3667 into master Jul 9, 2023
@kreneskyp kreneskyp deleted the api_host branch July 9, 2023 00:32
@kreneskyp kreneskyp mentioned this pull request Jul 9, 2023
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

Successfully merging this pull request may close these issues.

1 participant