from crewai import Agent, Task, Crew, AI model# Configure Nordlys AI modelllm = AI model( model="", api_key="your-nordlys-api-key", base_url="https://api.nordlyslabs.com/v1")# Create agentsresearcher = Agent( role='Researcher', goal='Research and gather information', backstory='A thorough researcher with attention to detail', llm=llm)writer = Agent( role='Writer', goal='Create engaging content based on research', backstory='A creative writer who transforms data into stories', llm=llm)# Define tasksresearch_task = Task( description='Research the latest trends in AI technology', agent=researcher, expected_output='A comprehensive report on AI trends')writing_task = Task( description='Write an article based on the research findings', agent=writer, expected_output='A well-written article about AI trends')# Create and run the crewcrew = Crew( agents=[researcher, writer], tasks=[research_task, writing_task], verbose=True)result = crew.kickoff()print(result)