Spaces:
Runtime error
Runtime error
Update app.py
Browse files77 unmodified lines787980818283849 unmodified lines949596979877 unmodified linesbase_url=os.getenv('BASE_URL'))completion = client.chat.completions.create(model=os.getenv('MODEL_NAME'),messages=[{'role': 'system', 'content': 'You are a helpful assistant.'},{'role': 'user', 'content': prompt}9 unmodified linesif __name__ == '__main__':name = 'spy'agent_builder = AgentBuilder(name, agent=SpyAgent(name, model_name='gpt-4o-mini'))agent_builder.start()77 unmodified lines787980818283849 unmodified lines949596979877 unmodified linesbase_url=os.getenv('BASE_URL'))completion = client.chat.completions.create(model=self.model_name,messages=[{'role': 'system', 'content': 'You are a helpful assistant.'},{'role': 'user', 'content': prompt}9 unmodified linesif __name__ == '__main__':name = 'spy'agent_builder = AgentBuilder(name, agent=SpyAgent(name, model_name=os.getenv('MODEL_NAME')'))agent_builder.start()
app.py+2-2