Skip to content

Commit

Permalink
TYPO
Browse files Browse the repository at this point in the history
  • Loading branch information
Mac0q committed Mar 6, 2024
1 parent 1d28b1f commit bfd0bf6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ __pycache__/
# Ignore the config file
ufo/config/config.yaml
*.yaml.test
*.yaml

# Ignore the helper files
ufo/rag/app_docs/*
Expand Down
1 change: 0 additions & 1 deletion ufo/module/flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ def process_application_selection(self, headers):
response, cost = llm_call.get_gptv_completion(app_selection_prompt_message, headers)

except Exception as e:
print(e)
log = json.dumps({"step": self.step, "status": str(e), "prompt": app_selection_prompt_message})
print_with_color("Error occurs when calling LLM.", "red")
self.request_logger.info(log)
Expand Down
2 changes: 0 additions & 2 deletions ufo/ufo.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
type=str, default=datetime.now().strftime("%Y-%m-%d-%H-%M-%S"))
args.add_argument("--gptkey", help="GPT key.", type=str,
default=configs["OPENAI_API_KEY"])
# args.add_argument("--authority", help="ad-authority", type=bool,
# default=None)

parsed_args = args.parse_args()

Expand Down

0 comments on commit bfd0bf6

Please sign in to comment.