Fixed skills dir
This commit is contained in:
		
							parent
							
								
									cadbeb751c
								
							
						
					
					
						commit
						166706d203
					
				|  | @ -46,12 +46,9 @@ def configure_interpreter(interpreter: OpenInterpreter): | |||
|         json.dump([], file) | ||||
| 
 | ||||
|     ### SKILLS | ||||
|     try: | ||||
|         interpreter.computer.skills.path = Path(os.getenv('OI_SKILLS_PATH')) | ||||
|         interpreter.computer.skills.import_skills() | ||||
|     except: | ||||
|         print("Temporarily skipping skills (OI 0.2.1, which is unreleased) so we can push to `pip`.") | ||||
|         pass | ||||
|     skills_dir = user_data_dir('01', 'skills') | ||||
|     interpreter.computer.skills.path = skills_dir | ||||
|     interpreter.computer.skills.import_skills() | ||||
| 
 | ||||
|     interpreter.computer.run("python", "tasks=[]") | ||||
| 
 | ||||
|  |  | |||
|  | @ -4,7 +4,7 @@ packages = [ | |||
|     {include = "01OS"}, | ||||
| ] | ||||
| include = [".env.example", "start.py", "start.sh"] | ||||
| version = "0.0.10" | ||||
| version = "0.0.11" | ||||
| description = "The open-source language model computer" | ||||
| authors = ["Killian <killian@openinterpreter.com>"] | ||||
| license = "AGPL" | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 killian
						killian