Skip to content

Commit

Permalink
Fixed build-lin4
Browse files Browse the repository at this point in the history
  • Loading branch information
draupner1 committed Jun 30, 2024
1 parent f4cd024 commit 44a2eff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oai.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def main():
parser.add_argument('prompt', type=str, nargs='?', help='Prompt to send')
args = parser.parse_args()

if args.prov not in ['oai', 'oll']:
if hasattr(args, 'prov') and args.prov not in ['oai', 'oll']:
print("Prov: "+args.prov)
args.prompt = args.prov
args.prov='oai'
Expand Down

0 comments on commit 44a2eff

Please sign in to comment.