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

Exporting vars in base resource reset child resources values. #7

Open
clemens-tolboom opened this issue Jun 24, 2023 · 0 comments
Open
Labels
help wanted Extra attention is needed

Comments

@clemens-tolboom
Copy link
Owner

clemens-tolboom commented Jun 24, 2023

I like to have child resources save their version and path but these should not be user changeable.

## OpenAI API specific path.
@export var path:StringName = ""

empties ie ChatCompletionRequest when trying to set. This always has to have value

func _init():
	super._init()
	path = "chat/completions"
@clemens-tolboom clemens-tolboom changed the title Exporting path and version is base resource makes path empty for child resources. Exporting vars in base resource reset child resources values. Jun 24, 2023
@clemens-tolboom clemens-tolboom added the help wanted Extra attention is needed label Jun 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant