mirror of
https://github.com/patrickchugh/terravision.git
synced 2026-05-09 16:35:30 +02:00
[GH-ISSUE #181] hardcoded refinement_prompt_attr issue - fails when not using AWS and using AI. #107
Labels
No labels
bug
enhancement
enhancement
good first issue
good first issue
good first issue
pipeline
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/terravision#107
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @s7oneyuk on GitHub (Mar 30, 2026).
Original GitHub issue: https://github.com/patrickchugh/terravision/issues/181
Issue in LLM.py....
refinement_prompt_attr = f"{provider.upper()}_REFINEMENT_PROMPT"
refinement_prompt = getattr(
config, refinement_prompt_attr, config.AWS_REFINEMENT_PROMPT
)
means you hardcoded the refinement prompt to AWS. This should be based on the provider detected instead.
@patrickchugh commented on GitHub (Apr 3, 2026):
Thanks for reporting this. The AI feature is still experimental and is due for a major revamp in the next release. Please keep an eye out for future releases.
@patrickchugh commented on GitHub (Apr 14, 2026):
@s7oneyuk Please try with the latest release and let me know how it goes
@patrickchugh commented on GitHub (Apr 27, 2026):
Closing due to to change of approach