Claude commited on
Commit
7bb506c
·
1 Parent(s): 2489e19

Fix AC3: Correct Llama model ID from Meta-Llama to Llama

Browse files

- Changed model from "meta-llama/Meta-Llama-3.1-70B-Instruct" to "meta-llama/Llama-3.1-70B-Instruct"
- Fixes 404 error when calling HuggingFace Inference API

Files changed (1) hide show
  1. agents/flutter_screen_generator.py +1 -1
agents/flutter_screen_generator.py CHANGED
@@ -319,7 +319,7 @@ class FlutterScreenGenerator:
319
  self.hf_token = os.getenv("HF_TOKEN", "")
320
  # Explicitly use HF provider (not third-party like Hyperbolic)
321
  self.client = InferenceClient(token=self.hf_token, provider="hf-inference")
322
- self.model = "meta-llama/Meta-Llama-3.1-70B-Instruct"
323
 
324
  # Jinja2 setup with custom delimiters (to avoid conflict with Dart ${})
325
  template_dir = os.path.join(os.path.dirname(__file__), '..', 'templates', 'dart')
 
319
  self.hf_token = os.getenv("HF_TOKEN", "")
320
  # Explicitly use HF provider (not third-party like Hyperbolic)
321
  self.client = InferenceClient(token=self.hf_token, provider="hf-inference")
322
+ self.model = "meta-llama/Llama-3.1-70B-Instruct"
323
 
324
  # Jinja2 setup with custom delimiters (to avoid conflict with Dart ${})
325
  template_dir = os.path.join(os.path.dirname(__file__), '..', 'templates', 'dart')