diff --git a/spec/foobara/remote_imports/import_command_spec.rb b/spec/foobara/remote_imports/import_command_spec.rb index 76e6ec9..e17acf7 100644 --- a/spec/foobara/remote_imports/import_command_spec.rb +++ b/spec/foobara/remote_imports/import_command_spec.rb @@ -52,7 +52,7 @@ expect(SomeOrg::Math).to be_foobara_domain end - context "creating all commands" do + context "when creating all commands" do let(:inputs) do { raw_manifest: diff --git a/src/foobara/remote_imports/import_type.rb b/src/foobara/remote_imports/import_type.rb index cc1e794..53fd1fd 100644 --- a/src/foobara/remote_imports/import_type.rb +++ b/src/foobara/remote_imports/import_type.rb @@ -37,10 +37,6 @@ def import_object_from_manifest ) end - if manifest_to_import.declaration_data["model_class"] == "Foobara::Ai::Anthropic::Types::MessageResult" - $stop = true - end - manifest_to_import.types_depended_on.each do |depended_on_type| run_subcommand!( ImportType, @@ -56,9 +52,6 @@ def import_object_from_manifest type = domain.foobara_type_from_strict_stringified_declaration(manifest_to_import.declaration_data) domain.foobara_register_type(manifest_to_import.scoped_path, type) - rescue => e - binding.pry - raise end end end